Code Monkey home page Code Monkey logo

Comments (6)

tomsalden avatar tomsalden commented on June 19, 2024 1

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.

beaufour avatar beaufour commented on June 19, 2024

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.

tomsalden avatar tomsalden commented on June 19, 2024

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.

beaufour avatar beaufour commented on June 19, 2024

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.

beaufour avatar beaufour commented on June 19, 2024

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.

beaufour avatar beaufour commented on June 19, 2024

Ok, fixed that edge case of updating the metadata store too.

from flickr-download.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.