/google_images_scraper

The source code of Google Images Scraper with Python and JavaScipt

Primary LanguageJavaScript


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