X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fvgtv.py;h=14e945d494cd2f6e5f3b3e6a03ff6ebb076826dd;hb=ed8648a322f8ec55957db0d4a959868807c38ebb;hp=129668a99ea12cbda5c9784ca4ca0e2251b304e4;hpb=974c1b2d4292308a26a47136e7fcf9b61f8b285a;p=youtube-dl.git diff --git a/youtube_dl/extractor/vgtv.py b/youtube_dl/extractor/vgtv.py index 129668a99..14e945d49 100644 --- a/youtube_dl/extractor/vgtv.py +++ b/youtube_dl/extractor/vgtv.py @@ -86,10 +86,9 @@ class VGTVIE(XstreamIE): { # streamType: wasLive 'url': 'http://www.vgtv.no/#!/live/113063/direkte-v75-fra-solvalla', - 'md5': '458f4841239dab414343b50e5af8869c', 'info_dict': { 'id': '113063', - 'ext': 'flv', + 'ext': 'mp4', 'title': 'V75 fra Solvalla 30.05.15', 'description': 'md5:b3743425765355855f88e096acc93231', 'thumbnail': 're:^https?://.*\.jpg', @@ -98,6 +97,10 @@ class VGTVIE(XstreamIE): 'upload_date': '20150530', 'view_count': int, }, + 'params': { + # m3u8 download + 'skip_download': True, + }, }, { 'url': 'http://www.aftenposten.no/webtv/#!/video/21039/trailer-sweatshop-i-can-t-take-any-more', @@ -151,10 +154,8 @@ class VGTVIE(XstreamIE): hls_url = streams.get('hls') if hls_url: - m3u8_formats = self._extract_m3u8_formats( - hls_url, video_id, 'mp4', m3u8_id='hls', fatal=False) - if m3u8_formats: - formats.extend(m3u8_formats) + formats.extend(self._extract_m3u8_formats( + hls_url, video_id, 'mp4', m3u8_id='hls', fatal=False)) hds_url = streams.get('hds') if hds_url: