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/udemy.py | |
parent | 9ba5705ac04d8bd8bb520b4f1a9466e142b41417 (diff) | |
download | hypervideo-pre-54f37eeabda3b38098231e8bd7feccfce27380c0.tar.lz hypervideo-pre-54f37eeabda3b38098231e8bd7feccfce27380c0.tar.xz hypervideo-pre-54f37eeabda3b38098231e8bd7feccfce27380c0.zip |
[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/udemy.py')
-rw-r--r-- | youtube_dlc/extractor/udemy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/udemy.py b/youtube_dlc/extractor/udemy.py index 60e364d30..5b81aa365 100644 --- a/youtube_dlc/extractor/udemy.py +++ b/youtube_dlc/extractor/udemy.py @@ -405,7 +405,7 @@ class UdemyIE(InfoExtractor): if f.get('url'): formats.append(f) - self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id')) + self._sort_formats(formats) return { 'id': video_id, |