[southpark] Use 'ñ' in the spanish extractor name
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 25 Apr 2015 20:34:28 +0000 (22:34 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 25 Apr 2015 20:36:11 +0000 (22:36 +0200)
IE_NAME can contain unicode characters, so it shouldn't be a problem.

youtube_dl/extractor/southpark.py

index 77758bbedfc44cbb2c433f52136ddc834ab1f046..e3b73295c1a8e77f7cd4664ae5a8eadf1d60702f 100644 (file)
@@ -1,3 +1,4 @@
+# encoding: utf-8
 from __future__ import unicode_literals
 
 from .mtv import MTVServicesInfoExtractor
@@ -21,7 +22,7 @@ class SouthParkIE(MTVServicesInfoExtractor):
 
 
 class SouthParkEsIE(SouthParkIE):
-    IE_NAME = 'southpark.cc.com:espanol'
+    IE_NAME = 'southpark.cc.com:español'
     _VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.cc\.com/episodios-en-espanol/(?P<id>.+?)(\?|#|$))'
     _LANG = 'es'