projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ccc59
)
[nowvideo] Improve _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Sat, 5 Apr 2014 08:35:21 +0000
(15:35 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 5 Apr 2014 08:35:21 +0000
(15:35 +0700)
youtube_dl/extractor/nowvideo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nowvideo.py
b/youtube_dl/extractor/nowvideo.py
index dd665874d5e01cd7e6c6e6d7dc69e06748952727..8e6ec23442b33421bfcc1ae4514c5da776b0326d 100644
(file)
--- a/
youtube_dl/extractor/nowvideo.py
+++ b/
youtube_dl/extractor/nowvideo.py
@@
-7,7
+7,7
@@
class NowVideoIE(NovaMovIE):
IE_NAME = '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'