Answer the question
In order to leave comments, you need to log in
How to parse images from Google/search?
worries about the issue of parsing images from the google / search engine. With a get request, I get a Google page with pictures, but how to parse them from there? If you look at the element code, then there are no direct links to images on such a page, but if you open any image, you can get the link, but there is a change in the browser line. If you know or have a script, please share it.
Answer the question
In order to leave comments, you need to log in
There is no script itself, but you can use a bunch of selenium and Pillow. Through Selenium, you simulate clicks on positions, do time.sleep() while the page with the image is loading, and then you get the url of the site on which it is currently located through Selenium and send this url to the Font from Pillow, thereby downloading the image.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question