Skip to content
tried downloading an entire album, could not. So here is the code to do so
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images/buildings,moscow
local
LICENSE
README.md
img.png
main.py
process.gif
requirement.txt

README.md

flickr Downloader for albums and tags

Why:

well, I was looking for a nice wallpapers and found these amazing photos by Masashi Wakui on flickr.
tried downloading, but apparently flickr was not allowing any downloads.
If I was to do it manually, then I would have to open each one of the pictures, click to download,
then click to choose the size, open inspect elements, find the link to the image,
copy, paste it to download. Annoying, isnt't it?

So I wrote a code to do that.
In order to use this you will need an API key and secret Key for Flickr,
However I have left my API keys in there for everyone to use
You will be asked to enter wether you want to search by the 'tag' or by the 'album'
The quality is set to download the highest all the time.
All the pictures will be saved into a folder called 'images/tag or albumID';
If folders do not exist, they will be automatically generated
alt tag

Dependencies:

  • beautifulsoup4==4.6.0
  • bs4==0.0.1
  • certifi==2017.4.17
  • chardet==3.0.3
  • flickrapi==2.3
  • idna==2.5
  • oauthlib==2.0.2
  • requests==2.17.3
  • requests-oauthlib==0.8.0
  • requests-toolbelt==0.8.0
  • six==1.10.0
  • urllib3==1.21.1

Execution:

Download the project:

git clone https://github.com/Denisolt/flickr_album_downloader.git
cd flickr_album_downloader

Activate virtual environment:

source local/bin/activate
pip install -r requirements.txt

Run:

python main.py

The output should be like this:
alt tag

You can’t perform that action at this time.