From 143d400f7e7a310e71549d75ffd68bdd1a0d3222 Mon Sep 17 00:00:00 2001 From: Alexandre Huot Date: Fri, 21 Dec 2018 17:49:17 -0500 Subject: [PATCH] [radiocanada] Relax DRM check --- youtube_dl/extractor/radiocanada.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/radiocanada.py b/youtube_dl/extractor/radiocanada.py index b952e59b4..e6ec5d2cc 100644 --- a/youtube_dl/extractor/radiocanada.py +++ b/youtube_dl/extractor/radiocanada.py @@ -67,8 +67,10 @@ class RadioCanadaIE(InfoExtractor): el = find_xpath_attr(metadata, './/Meta', 'name', name) return el.text if el is not None else None + # IsDrm does not necessarily mean the video is DRM protected (see + # https://github.com/rg3/youtube-dl/issues/13994). if get_meta('protectionType'): - raise ExtractorError('This video is DRM protected.', expected=True) + self.report_warning('This video is probably DRM protected.') device_types = ['ipad'] if not smuggled_data: