Browse Source

[nowvideo] Improve _VALID_URL

totalwebcasting
Sergey M․ 11 years ago
parent
commit
92810ff497
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/nowvideo.py

+ 1
- 1
youtube_dl/extractor/nowvideo.py View File

@ -7,7 +7,7 @@ class NowVideoIE(NovaMovIE):
IE_NAME = 'nowvideo' IE_NAME = 'nowvideo'
IE_DESC = 'NowVideo' IE_DESC = 'NowVideo'
_VALID_URL = r'http://(?:(?:www\.)?%(host)s/video/|(?:(?:embed|www)\.)%(host)s/embed\.php\?(?:.*?&)?v=)(?P<videoid>[a-z\d]{13})' % {'host': 'nowvideo\.(?:ch|sx|eu)'}
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'nowvideo\.(?:ch|sx|eu)'}
_HOST = 'www.nowvideo.ch' _HOST = 'www.nowvideo.ch'


Loading…
Cancel
Save