Compare commits

..

No commits in common. "8fe0c26b81835097c785167528ee7fe98e39d98f" and "28959d4860b4ed7dfb536e247ed71608da005593" have entirely different histories.

View File

@ -322,7 +322,6 @@ class RaiPlayIE(RaiBaseIE):
'upload_date': '20120924', 'upload_date': '20120924',
}, },
}, { }, {
# checking program_info gives false positive for DRM
'url': 'https://www.raiplay.it/video/2022/10/Ad-ogni-costo---Un-giorno-in-Pretura---Puntata-del-15102022-1dfd1295-ea38-4bac-b51e-f87e2881693b.html', 'url': 'https://www.raiplay.it/video/2022/10/Ad-ogni-costo---Un-giorno-in-Pretura---Puntata-del-15102022-1dfd1295-ea38-4bac-b51e-f87e2881693b.html',
'md5': '572c6f711b7c5f2d670ba419b4ae3b08', 'md5': '572c6f711b7c5f2d670ba419b4ae3b08',
'info_dict': { 'info_dict': {
@ -361,8 +360,9 @@ class RaiPlayIE(RaiBaseIE):
media = self._download_json( media = self._download_json(
f'{base}.json', video_id, 'Downloading video JSON') f'{base}.json', video_id, 'Downloading video JSON')
if traverse_obj(media, ('rights_management', 'rights', 'drm')): if not self.get_param('allow_unplayable_formats'):
self.report_drm(video_id) if traverse_obj(media, ('rights_management', 'rights', 'drm')):
self.report_drm(video_id)
video = media['video'] video = media['video']
relinker_info = self._extract_relinker_info(video['content_url'], video_id) relinker_info = self._extract_relinker_info(video['content_url'], video_id)