aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/prosiebensat1.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/extractor/prosiebensat1.py')
-rw-r--r--youtube_dlc/extractor/prosiebensat1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/prosiebensat1.py b/youtube_dlc/extractor/prosiebensat1.py
index e47088292..307ab81e9 100644
--- a/youtube_dlc/extractor/prosiebensat1.py
+++ b/youtube_dlc/extractor/prosiebensat1.py
@@ -34,7 +34,7 @@ class ProSiebenSat1BaseIE(InfoExtractor):
'ids': clip_id,
})[0]
- if video.get('is_protected') is True:
+ if not self._downloader.params.get('allow_unplayable_formats') and video.get('is_protected') is True:
raise ExtractorError('This video is DRM protected.', expected=True)
formats = []