python - Questions about crawling images?
我想大声告诉你
我想大声告诉你 2017-06-28 09:25:40
0
2
952

Current crawlers generally parse images from html, but the problem is that some image paths are written in js. How to climb this?
I know that you can view the pictures inside the source by opening the f12 point in the browser, but how do you use a crawler to crawl out the resources in the source?

我想大声告诉你
我想大声告诉你

reply all (2)
三叔

In fact, whether it is written inhtmlorjs, theurlof the image should be able to be obtained through regular expressions. The details are similar to my other answer. You can refer to the following: /q/10...

    Ty80

    You can use the automated testing tool Selenium, please give a link and description

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!