mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 17:07:18 +08:00
[radiocanada] Corrections after PR review
This commit is contained in:
parent
f01d91831e
commit
ecb92e3720
@ -51,12 +51,14 @@ class RadioCanadaIE(InfoExtractor):
|
||||
},
|
||||
},
|
||||
{
|
||||
# url from toutv that triggers false DRM validation
|
||||
'url': 'radiocanada:toutv:140872',
|
||||
'info_dict': {
|
||||
'id': '140872',
|
||||
'title': 'Épisode 1',
|
||||
'series': 'District 31'
|
||||
}
|
||||
'series': 'District 31',
|
||||
},
|
||||
'only_matching': True,
|
||||
}
|
||||
]
|
||||
|
||||
@ -75,7 +77,7 @@ 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
|
||||
# protectionType does not necessarily mean the video is DRM protected (see
|
||||
# https://github.com/rg3/youtube-dl/issues/13994).
|
||||
if get_meta('protectionType'):
|
||||
self.report_warning('This video is probably DRM protected.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user