[archive.org] Ignore unnecessary files

Closes #2452
pull/2540/head
pukkandan 3 years ago
parent 87e8e8a7d0
commit e612f66c7c
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -207,7 +207,7 @@ class ArchiveOrgIE(InfoExtractor):
'discnumber': int_or_none(f.get('disc')), 'discnumber': int_or_none(f.get('disc')),
'release_year': int_or_none(f.get('year'))}) 'release_year': int_or_none(f.get('year'))})
entry = entries[f['name']] entry = entries[f['name']]
elif f.get('original') in entries: elif traverse_obj(f, 'original', expected_type=str) in entries:
entry = entries[f['original']] entry = entries[f['original']]
else: else:
continue continue

Loading…
Cancel
Save