commit: bd690a9f9368095f561184778fb2f3ef12c66342
parent 51f267d9d4d26c3cd67f318a2040513946f2b4d3
Author: Sergey M․ <dstftw@gmail.com>
Date: Thu, 6 Aug 2015 22:01:31 +0600
[southpark:de] Add test for non-ASCII in URLs
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/youtube_dl/extractor/southpark.py b/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,
}]