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:
parent
d0757229fa
commit
63be1aab2f
3 changed files with 59 additions and 49 deletions
|
|
@ -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}):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue