Explorar o código

[southpark:de] Add test for non-ASCII in URLs

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
bd690a9f93
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      youtube_dl/extractor/southpark.py

+ 8 - 0
youtube_dl/extractor/southpark.py

@@ -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,
     }]