Sfoglia il codice sorgente

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

Sergey M․ 10 anni fa
parent
commit
bd690a9f93
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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,
     }]