1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-03 23:43:21 -04:00

Deprecate unnecessary aliases in formatSort

(I should never have made so many aliases in the first-place)
The aliases remain functional for backward compatability, but will be left undocumented
This commit is contained in:
pukkandan
2021-01-21 18:20:09 +05:30
parent d0757229fa
commit 63be1aab2f
3 changed files with 59 additions and 49 deletions

View File

@@ -886,8 +886,8 @@ class YoutubeDL(object):
try:
temp_id = str_or_none(
ie.extract_id(url) if callable(getattr(ie, 'extract_id', None))
else ie._match_id(url))
ie.extract_id(url) if callable(getattr(ie, 'extract_id', None))
else ie._match_id(url))
except (AssertionError, IndexError, AttributeError):
temp_id = None
if temp_id is not None and self.in_download_archive({'id': temp_id, 'ie_key': ie_key}):