mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-01 09:02:57 +01:00
[rtvnh] Make SMIL not fatal
This commit is contained in:
parent
f196047832
commit
60231c65b9
@ -23,7 +23,7 @@ def _real_extract(self, url):
|
|||||||
meta = self._parse_json(self._download_webpage(
|
meta = self._parse_json(self._download_webpage(
|
||||||
'http://www.rtvnh.nl/video/json?m=' + video_id, video_id), video_id)
|
'http://www.rtvnh.nl/video/json?m=' + video_id, video_id), video_id)
|
||||||
formats = self._extract_smil_formats(
|
formats = self._extract_smil_formats(
|
||||||
'http://www.rtvnh.nl/video/smil?m=' + video_id, video_id)
|
'http://www.rtvnh.nl/video/smil?m=' + video_id, video_id, fatal=False)
|
||||||
|
|
||||||
for item in meta['source']['fb']:
|
for item in meta['source']['fb']:
|
||||||
if item.get('type') == 'hls':
|
if item.get('type') == 'hls':
|
||||||
|
Loading…
Reference in New Issue
Block a user