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?
三叔2017-06-28 09:27:40
In fact, whether it is written in html
or js
, the url
of 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...
PHP中文网2017-06-28 09:27:40
You can use the automated testing tool Selenium, please give a link and description