diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-12 10:10:31 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-12 20:29:29 +0530 |
commit | 1ea241292770c6027b951aa045e00eadd140b9f5 (patch) | |
tree | 4c0851a186d9c97d222cb91f26813d0db10c7e93 /youtube_dlc/extractor/rtbf.py | |
parent | 63ad4d43ebb826725539235f4fa08c85c046fdc1 (diff) | |
download | hypervideo-pre-1ea241292770c6027b951aa045e00eadd140b9f5.tar.lz hypervideo-pre-1ea241292770c6027b951aa045e00eadd140b9f5.tar.xz hypervideo-pre-1ea241292770c6027b951aa045e00eadd140b9f5.zip |
Minor bugfixes
* `__real_download` should be false when ffmpeg unavailable and no download
* Mistakes in #70
* `allow_playlist_files` was not correctly pass through
Diffstat (limited to 'youtube_dlc/extractor/rtbf.py')
-rw-r--r-- | youtube_dlc/extractor/rtbf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/rtbf.py b/youtube_dlc/extractor/rtbf.py index 3c6c656ea..2bb0acd5a 100644 --- a/youtube_dlc/extractor/rtbf.py +++ b/youtube_dlc/extractor/rtbf.py @@ -125,7 +125,7 @@ class RTBFIE(InfoExtractor): }) mpd_url = data.get('urlDash') - if (not self._downloader.params.get('allow_unplayable_formats') and not data.get('drm')) and mpd_url: + if mpd_url and (self._downloader.params.get('allow_unplayable_formats') or not data.get('drm')): formats.extend(self._extract_mpd_formats( mpd_url, media_id, mpd_id='dash', fatal=False)) |