[southpark:de] Add test for non-ASCII in URLs
authorSergey M․ <dstftw@gmail.com>
Thu, 6 Aug 2015 16:01:31 +0000 (22:01 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 6 Aug 2015 16:01:31 +0000 (22:01 +0600)
youtube_dl/extractor/southpark.py

index 7fb165a872766f4c1917d2929ec8a73b8f74434e..87b6504682a4feb50ce65c3eea43d07041aae31c 100644 (file)
@@ -45,6 +45,14 @@ class SouthParkDeIE(SouthParkIE):
             'title': 'The Government Won\'t Respect My Privacy',
             'description': 'Cartman explains the benefits of "Shitter" to Stan, Kyle and Craig.',
         },
+    }, {
+        # non-ASCII characters in initial URL
+        'url': 'http://www.southpark.de/alle-episoden/s18e09-hashtag-aufwärmen',
+        'playlist_count': 4,
+    }, {
+        # non-ASCII characters in redirect URL
+        'url': 'http://www.southpark.de/alle-episoden/s18e09',
+        'playlist_count': 4,
     }]