]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[generic] Replace LazyYT test with skiplagged
authorJohn Hawkinson <jhawk@mit.edu>
Mon, 20 Mar 2017 00:52:25 +0000 (20:52 -0400)
committerSergey M․ <dstftw@gmail.com>
Sat, 25 Mar 2017 12:53:32 +0000 (19:53 +0700)
discourse.ubuntu.com has gone away, repalce with skiplagged.com.
Be nice to have a non-frontpage URL that might be more stable,
though I don't have one. Maybe this should move to html
in test/test_InfoExtractor.py?

youtube_dl/extractor/generic.py

index da9d04efc3ad22ab9ef66d26b2e903c39ded94c4..4fff93efe2859b541e34a4f09647417fffcf940d 100644 (file)
@@ -902,12 +902,13 @@ class GenericIE(InfoExtractor):
         },
         # LazyYT
         {
-            'url': 'http://discourse.ubuntu.com/t/unity-8-desktop-mode-windows-on-mir/1986',
+            'url': 'https://skiplagged.com/',
             'info_dict': {
-                'id': '1986',
-                'title': 'Unity 8 desktop-mode windows on Mir! - Ubuntu Discourse',
+                'id': 'skiplagged',
+                'title': 'Skiplagged: The smart way to find cheap flights',
             },
-            'playlist_mincount': 2,
+            'playlist_mincount': 1,
+            'add_ie': ['Youtube'],
         },
         # Cinchcast embed
         {