1
0
Fork 0

[extractor] Deprecate _sort_formats

This commit is contained in:
pukkandan 2022-11-17 10:40:03 +05:30
commit 9f14daf22b
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
579 changed files with 69 additions and 918 deletions

View file

@ -312,7 +312,7 @@ class ArchiveOrgIE(InfoExtractor):
})
for entry in entries.values():
self._sort_formats(entry['formats'], ('source', ))
entry['_format_sort_fields'] = ('source', )
if len(entries) == 1:
# If there's only one item, use it as the main info dict