diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-18 23:52:28 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-18 23:52:28 +0530 |
commit | 54f37eeabda3b38098231e8bd7feccfce27380c0 (patch) | |
tree | e35aa48d6757a8ab406ae9c8f1b86354363d0903 /youtube_dlc/extractor/aparat.py | |
parent | 9ba5705ac04d8bd8bb520b4f1a9466e142b41417 (diff) |
[formatsort] Remove unnecessary `field_preference` from extractors
These were written with the old format sorting in mind and is no longer needed
Diffstat (limited to 'youtube_dlc/extractor/aparat.py')
-rw-r--r-- | youtube_dlc/extractor/aparat.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dlc/extractor/aparat.py b/youtube_dlc/extractor/aparat.py index a9527e785..da06a3cac 100644 --- a/youtube_dlc/extractor/aparat.py +++ b/youtube_dlc/extractor/aparat.py @@ -72,8 +72,7 @@ class AparatIE(InfoExtractor): r'(\d+)[pP]', label or '', 'height', default=None)), }) - self._sort_formats( - formats, field_preference=('height', 'width', 'tbr', 'format_id')) + self._sort_formats(formats) info = self._search_json_ld(webpage, video_id, default={}) |