Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download metadata only #220

Closed
r-gcc-65061 opened this issue Apr 15, 2019 · 2 comments
Closed

Download metadata only #220

r-gcc-65061 opened this issue Apr 15, 2019 · 2 comments

Comments

@r-gcc-65061
Copy link

Could there be an option to only download the metadata obtained with the --write* flag? Currently it only does so if the image downloaded successfully, and the --dump-json option dumps all the information from JSON without following the name and format configurations.

@r-gcc-65061
Copy link
Author

As an addendum, my apologies, would it be possible to implement it in such a way that would allow the "--option skip-false" flag's passing to apply for downloading metadata files also, since if the file already exists or is indicated as downloaded, the metadata downloading or the postprocessor seems to be skipped too.

mikf added a commit that referenced this issue Jul 15, 2019
@mikf
Copy link
Owner

mikf commented Jul 15, 2019

There is now a --no-download flag as well as a download option that allows you to disable file downloads while everything else works as normal. Some post-processor modules might raise an exception when running them without having downloaded a file, but --write-metadata definitely works.

And yes, you need to pass -o skip=false if you want to run post-processors for previously downloaded files. The "does the file already exist?" check still happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants