1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01: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'