Comments (6)
Thank you! That works perfectly!
One more comment: the already downloaded photos will not be added to the metadata since you return the "do_download_photo" function after "if os.path.exists(fname)". That happens just before you would otherwise add it to the metadata database.
So photos that have been downloaded without metadata will always return from this function. However, maybe this is another topic
However, for completely new downloads, it works flawlessly!
from flickr-download.
Thanks for the nice words, and happy to hear that the project is helpful!
Can you share the exact command line you use (without any secrets in it : ) )?
from flickr-download.
Of course! The command line I use is:
flickr_download -k "api key" -s "api secret" -t --cache api_cache --metadata_store -u "username"
I have authenticated in Flickr with the same username I am downloading from, so I can access all photos.
During the download, I have been looking for the .metadata.db file, but it does not appear. It is not created in the main folder from where I run the command, but also not in the set folders of each downloaded set. The cache file does get edited and changes size now and then.
from flickr-download.
I think I just forgot to add support for the --download_user
option... I just added to master. Do you know how to run the script from the master branch?
from flickr-download.
Happy it's working!
On the already downloaded... If only I could remember if there was a reason for why I did it in that order... 😀 I'll try to think about it.
from flickr-download.
Ok, fixed that edge case of updating the metadata store too.
from flickr-download.
Related Issues (20)
- Cannot run on Windows (install error?) HOT 5
- NotADirectoryError: [WinError 267] The directory name is invalid HOT 4
- Cannot complete download of large photosets - checking existing files requires connection which can fail + slow HOT 5
- Optimize downloading photosets
- Improve tests
- mktime error HOT 3
- Add exif data to json HOT 4
- For --download_user_photos, why use name instead of username? HOT 1
- Album downloads are incomplete HOT 1
- Automate release through Github actions
- Issue with downloading sets for a user HOT 5
- Improve --help output HOT 4
- Choose Original over other formats if there's a choice between the largest size HOT 9
- API error when saving JSON metadata HOT 6
- python-dateutil dependency update HOT 2
- Travel destination pictures HOT 7
- python flickr_download.py -k YOUR_API_KEY -s YOUR_API_SECRET -d CITY_SET_ID HOT 3
- Doesn't work on Python 3.12.0 HOT 3
- Throttling to avoid API query limits HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flickr-download.