aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/rtbf.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/extractor/rtbf.py')
-rw-r--r--youtube_dlc/extractor/rtbf.py2
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))