1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01:00

[rtvnh] Make SMIL not fatal

This commit is contained in:
Sergey M․ 2015-08-13 01:02:50 +06:00
parent f196047832
commit 60231c65b9

View File

@ -23,7 +23,7 @@ class RTVNHIE(InfoExtractor):
meta = self._parse_json(self._download_webpage(
'http://www.rtvnh.nl/video/json?m=' + video_id, video_id), video_id)
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']:
if item.get('type') == 'hls':