download-archive multiple columns allowed? #6212
Unanswered
shadowbobx
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the config file I pass through to the cli. it works great. it creates a table called archive and stores the hashes in the archive to avoid downloading 'most' duplicates (filters or added subtitles or alternate cropping or whatever wont be caught obviously).
Is there a way to store some additional metadata in the same table as an additional column? I would like to save some metadata of the first instance of that hash to the archive. I can add metadata to the archive-format, but then if duplicate hash videos don't have the same metadata then it would download those too...
I believe this is the relevant code to check for interference and I think the answer is I can do it, but I am not sure if am missing somewhere else:
https://github.com/mikf/gallery-dl/blob/2dfdc92b21b65f883e229e4235514dfeccd7a4d6/gallery_dl/archive.py
Beta Was this translation helpful? Give feedback.
All reactions