[archive.org] Ignore unnecessary files

Closes #2452
This commit is contained in:
pukkandan 2022-01-23 18:33:16 +05:30
parent 87e8e8a7d0
commit e612f66c7c
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

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