/Scrapster

Scrape images from google for your next ML project.

Primary LanguagePython

 

𝙂𝙞𝙫𝙚 𝙮𝙤𝙪𝙧 𝙈𝙇 𝙥𝙧𝙤𝙟𝙚𝙘𝙩 𝙖 𝙝𝙚𝙖𝙙 𝙨𝙩𝙖𝙧𝙩 𝙬𝙞𝙩𝙝 𝙎𝙘𝙧𝙖𝙥𝙨𝙩𝙚𝙧

𝘚𝘤𝘳𝘢𝘱𝘦 𝘪𝘮𝘢𝘨𝘦𝘴 𝘧𝘳𝘰𝘮 𝘨𝘰𝘰𝘨𝘭𝘦 𝘢𝘯𝘥 𝘦𝘢𝘴𝘪𝘭𝘺 𝘤𝘳𝘦𝘢𝘵𝘦 𝘵𝘳𝘢𝘪𝘯𝘪𝘯𝘨 𝘥𝘢𝘵𝘢.

 

Run Locally

Clone the project

  git clone https://github.com/arjun-ms/Google-Image-Scraper

Go to the project directory

  cd Google-Image-Scraper

Install chromedriver

Ensure you have the appropriate version of ChromeDriver on your machine if you would like to scrape from Google Images.

Install dependencies

  pip install -r requirements.txt

Edit your desired parameters in main.py

  PATH = "/home/ams/chromedriver"   # path to chromedriver
  LIMIT = 100                       # how much images you want to download
  query = '"mohanlal"'              # keyword you want to search for

Run the program

  python main.py

Feedback

If you have any feedback, please reach out to me at arjunachu123.aa@gmail.com