Explorar o código

[rtvnh] Make SMIL not fatal

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
60231c65b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/rtvnh.py

+ 1 - 1
youtube_dl/extractor/rtvnh.py

@@ -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':