Quellcode durchsuchen

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

Sergey M․ vor 10 Jahren
Ursprung
Commit
bd690a9f93
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  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,
     }]