Skip to content

Instantly share code, notes, and snippets.

@kagermanov27
Created May 19, 2022 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kagermanov27/c5cdb620e72bfe6f1462f27f5cc49a82 to your computer and use it in GitHub Desktop.
Save kagermanov27/c5cdb620e72bfe6f1462f27f5cc49a82 to your computer and use it in GitHub Desktop.
def download_all_images(self):
self.serpapi_search()
self.separate_unique_results()
for link in self.unique_results:
try:
self.download(link)
except:
print("Passed {}".format(link))
self.update_downloaded_images()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment