Skip to content

The source code of Google Images Scraper with Python and JavaScipt

Notifications You must be signed in to change notification settings

algonacci/google_images_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Google Images Scraper

Description

A simple tools to scrape data from Google Images for computer vision task

Installation

# Python version 3.7.9 or newer
$ git clone https://github.com/algonacci/google_images_scraper.git
$ pip install -r requirements.txt

Usage

  • Make a folder named dataset in the project directory
  • Copy all inside the js_code.js
  • Search for a keyword in Google Images, and scroll down as much as you want
  • Press F12 in your keyboard
  • Paste in the console log, then hit enter
  • It will download urls.txt which contains all the scraped image's urls
  • Copy that urls.txt into the project directory
  • Open terminal and run python image-downloader2.py -u urls.txt -o dataset
  • Hit enter and wait till all images are scraped

License

MIT LICENSE

© Developed by algonacci

About

The source code of Google Images Scraper with Python and JavaScipt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published