[radiocanada] Relax DRM check
This commit is contained in:
parent
e1a0628797
commit
143d400f7e
@ -67,8 +67,10 @@ class RadioCanadaIE(InfoExtractor):
|
|||||||
el = find_xpath_attr(metadata, './/Meta', 'name', name)
|
el = find_xpath_attr(metadata, './/Meta', 'name', name)
|
||||||
return el.text if el is not None else None
|
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'):
|
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']
|
device_types = ['ipad']
|
||||||
if not smuggled_data:
|
if not smuggled_data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user