Browse Source

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

IE_NAME can contain unicode characters, so it shouldn't be a problem.
master
Jaime Marquínez Ferrándiz 9 years ago
parent
commit
642f23bd81
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/southpark.py

3
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\.)?(?P<url>southpark\.cc\.com/episodios-en-espanol/(?P<id>.+?)(\?|#|$))'
_LANG = 'es'

Loading…
Cancel
Save