Skip to content

SpaceDudem/image-scraper

 
 

Repository files navigation

image-scraper Build Status

Python script to scrap images

Developer's guide

$ git clone https://github.com/NaveenKarippai/image-scraper
$ cd image-scraper

Information

Usage:

python scraper.py --help

will show:

Usage: scraper.py [OPTIONS] COMMAND [ARGS]...

  A site image scraping tool.

Options:
  --help  Show this message and exit.

Commands:
  batch_downloader  Takes a text file and scrapes the image URLs
  site_scrape       Takes a URL and scrapes all the images
site_scrape
# python scraper.py site_scrape --help
Usage: scraper.py site_scrape [OPTIONS]

  Takes a URL and scrapes all the images

Options:
  --site TEXT  The site's URL to scrape images from
  --help       Show this message and exit.
batch_downloader
# python scraper.py batch_downloader --help
Usage: scraper.py batch_downloader [OPTIONS]

  Takes a text file and scrapes the image URLs

Options:
  --file PATH  A text file with URLs of the images to download
  --help       Show this message and exit.

Unit Testing

$ python -m unittest discover -v tests/

Contributing

Please read the contributor's guide before a pull request.

ToDo

Please read the ToDo list for tasks you could contribute to.

About

Python script to scrap images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 96.5%
  • Python 3.5%