1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[southpark] Use 'ñ' in the spanish extractor name

IE_NAME can contain unicode characters, so it shouldn't be a problem.
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-04-25 22:34:28 +02:00
parent 2e24e6bd17
commit 642f23bd81

View 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'