Przeglądaj źródła

[generic] Update the UDNEmbed test case

Yen Chi Hsuan 9 lat temu
rodzic
commit
811586ebcf
1 zmienionych plików z 6 dodań i 2 usunięć
  1. 6 2
      youtube_dl/extractor/generic.py

+ 6 - 2
youtube_dl/extractor/generic.py

@@ -1033,14 +1033,18 @@ class GenericIE(InfoExtractor):
         },
         },
         # UDN embed
         # UDN embed
         {
         {
-            'url': 'http://www.udn.com/news/story/7314/822787',
+            'url': 'https://video.udn.com/news/300346',
             'md5': 'fd2060e988c326991037b9aff9df21a6',
             'md5': 'fd2060e988c326991037b9aff9df21a6',
             'info_dict': {
             'info_dict': {
                 'id': '300346',
                 'id': '300346',
                 'ext': 'mp4',
                 'ext': 'mp4',
                 'title': '中一中男師變性 全校師生力挺',
                 'title': '中一中男師變性 全校師生力挺',
                 'thumbnail': 're:^https?://.*\.jpg$',
                 'thumbnail': 're:^https?://.*\.jpg$',
-            }
+            },
+            'params': {
+                # m3u8 download
+                'skip_download': True,
+            },
         },
         },
         # Ooyala embed
         # Ooyala embed
         {
         {