Skip to content

A simple, multithreaded image scraper implemented in Python for downloading all images from the Flickr web service for a given keyword and time period.

License

Notifications You must be signed in to change notification settings

sealionking/FBI-Scraper

 
 

Repository files navigation

FBI Scraper -- Flickr Bulk Image Scraper

A simple, multithreaded image scraper implemented in Python for downloading all images from the Flickr web service for a given keyword and time period.

Installation

You need git (distributed version control system) installed globally. Open your favorite Terminal and run these commands.

$ sudo apt-get update
$ sudo apt-get install git
$ clone https://github.com/GKalliatakis/FBI_Scraper

Every Flickr API application needs to obtain an API 'key'. You can apply for a key by following this link https://www.flickr.com/services/api/auth.howto.web.html.

Once the API_KEY and the API_SECRET are obtained, open flickr.py and set those variables accordingly.

Usage

$ cd FBI_Scraper
$ python multigetphotos.py [KEYWORD(S)] [START DATE] [END DATE]

By default, a new folder called “KEYWORD” will be created in the working directory, containing all the downloaded images.

Example:

Scrape all images of sea bass which were uploaded between the 1st of January 2016 and 1st of June 2016.

$ python multigetphotos.py sea+bass 01-01-2016 01-06-2016

License

MIT

This app is for learning purposes, and not meant for any use in production / commercial purposes.

About

A simple, multithreaded image scraper implemented in Python for downloading all images from the Flickr web service for a given keyword and time period.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%