Skip to content

Code to mass download images from Google Images using JavaScript Console Window and python script

License

Notifications You must be signed in to change notification settings

ashishkrb7/Image-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download-Google-Images

Code to mass download images from Google Images using JavaScript Console Window and python script.

Steps to perform:

  • Query your intended Google search
  • Scroll down through images until they become unrelated to your query or until you've passed enough images for your dataset
  • Right click and hit "Inspect" and then navigate to "Console" tab
  • Enter the lines from console.js into the console window and run them
  • Move urls.txt from Downloads folder to this folder
  • Run follwing two python commands as follows:
pip install -r requirements.txt
python download_images.py --urls urls.txt --output images

You should now have all your images inside your images folder!

License

MIT License

Copyright (c) 2021 Ashish Kumar

Author

Ashish Kumar

LinkedIn Gmail

Made with ❤️ in India

Contributors

About

Code to mass download images from Google Images using JavaScript Console Window and python script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published