Skip to content

bwh1te/flickr_dwnldr_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flickr_dwnldr_py

Script for downloading photos from Flickr by tag

Installation

  1. Prepare your PostgreSQL DB where we will store images. For example:
create database flickr;
create user flickr with password 'flickr';
grant all privileges on database flickr to flickr;
  1. Get your own Flickr API key at https://www.flickr.com/services/apps/create/
  2. Fill your config.ini with your settings (at least with DB credentials and Flickr API key)
  3. Install project requirements with running pip install -r requirements.txt It's desirable to use virtual environment.
  4. Run python setup.py config.ini to create table for storing photos and additional information.

Usage

For example: python get_images.py Novosibirsk --config config.ini More info: python get_images.py --help

About

Script for downloading photos from Flickr by tag

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages