mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-28 21:56:29 +00:00
Compare commits
2 Commits
28959d4860
...
8fe0c26b81
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fe0c26b81 | ||
|
|
40eaebfa84 |
@ -322,6 +322,7 @@ 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': {
|
||||||
@ -360,9 +361,8 @@ 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 not self.get_param('allow_unplayable_formats'):
|
if traverse_obj(media, ('rights_management', 'rights', 'drm')):
|
||||||
if traverse_obj(media, ('rights_management', 'rights', 'drm')):
|
self.report_drm(video_id)
|
||||||
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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user