From: Jaime Marquínez Ferrándiz Date: Sat, 25 Apr 2015 20:34:28 +0000 (+0200) Subject: [southpark] Use 'ñ' in the spanish extractor name X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=642f23bd81ae31bb9b5647ff515db66e3023c35f;p=youtube-dl.git [southpark] Use 'ñ' in the spanish extractor name IE_NAME can contain unicode characters, so it shouldn't be a problem. --- diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py index 77758bbed..e3b73295c 100644 --- a/youtube_dl/extractor/southpark.py +++ b/youtube_dl/extractor/southpark.py @@ -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\.)?(?Psouthpark\.cc\.com/episodios-en-espanol/(?P.+?)(\?|#|$))' _LANG = 'es'