You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When downloading a reddit post linking to an imgur album with both 'archive' and 'parent-metadata' options enabled, only the first image in the album is saved and the rest are skipped.
I'm guessing this is because the imgur 'id' is overwritten by the reddit 'id':
I'm guessing this is because the imgur 'id' is overwritten by the reddit 'id':
Yep, that's exactly it. Using {filename} should work since the metadata from Reddit doesn't have such a field in case it's an Imgur URL.
I've also extended the parent-metadata option a bit (e95f998) so you can tell it to not overwrite child metadata but to put the parent metadata entries into their own field. This also makes it possible to distinguish between child extractor and default usage with conditional directories and/or filenames:
When downloading a reddit post linking to an imgur album with both 'archive' and 'parent-metadata' options enabled, only the first image in the album is saved and the rest are skipped.
I'm guessing this is because the imgur 'id' is overwritten by the reddit 'id':
gallery-dl/gallery_dl/extractor/imgur.py
Line 146 in befe635
Would using
archive_fmt = "{album[id]}_{filename}"
be a better option?The text was updated successfully, but these errors were encountered: