Browse Source

[vgtv] Fix test_VGTV_2

Yen Chi Hsuan 9 years ago
parent
commit
7c38af48b9
1 changed files with 5 additions and 2 deletions
  1. 5 2
      youtube_dl/extractor/vgtv.py

+ 5 - 2
youtube_dl/extractor/vgtv.py

@@ -86,10 +86,9 @@ class VGTVIE(XstreamIE):
         {
         {
             # streamType: wasLive
             # streamType: wasLive
             'url': 'http://www.vgtv.no/#!/live/113063/direkte-v75-fra-solvalla',
             'url': 'http://www.vgtv.no/#!/live/113063/direkte-v75-fra-solvalla',
-            'md5': '458f4841239dab414343b50e5af8869c',
             'info_dict': {
             'info_dict': {
                 'id': '113063',
                 'id': '113063',
-                'ext': 'flv',
+                'ext': 'mp4',
                 'title': 'V75 fra Solvalla 30.05.15',
                 'title': 'V75 fra Solvalla 30.05.15',
                 'description': 'md5:b3743425765355855f88e096acc93231',
                 'description': 'md5:b3743425765355855f88e096acc93231',
                 'thumbnail': 're:^https?://.*\.jpg',
                 'thumbnail': 're:^https?://.*\.jpg',
@@ -98,6 +97,10 @@ class VGTVIE(XstreamIE):
                 'upload_date': '20150530',
                 'upload_date': '20150530',
                 'view_count': int,
                 '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',
             'url': 'http://www.aftenposten.no/webtv/#!/video/21039/trailer-sweatshop-i-can-t-take-any-more',