mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-23 04:02:59 +08:00
[radiocanada] Relax DRM check
This commit is contained in:
parent
8a2af0dbd8
commit
7a2f414c00
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user