projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324b2c7
)
[vier:videos] Tune _VALID_URL not to match single videos
author
Sergey M․
<dstftw@gmail.com>
Fri, 2 Jan 2015 16:09:00 +0000
(22:09 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 2 Jan 2015 16:09:00 +0000
(22:09 +0600)
youtube_dl/extractor/vier.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vier.py
b/youtube_dl/extractor/vier.py
index 0d9fb09a72db3eba452cdb42ec5ffde606befe70..619039e516c96209c38953e6b73f93a6895df54c 100644
(file)
--- a/
youtube_dl/extractor/vier.py
+++ b/
youtube_dl/extractor/vier.py
@@
-63,7
+63,7
@@
class VierIE(InfoExtractor):
class VierVideosIE(InfoExtractor):
IE_NAME = 'vier:videos'
- _VALID_URL = r'https?://(?:www\.)?vier\.be/(?P<program>[^/]+)/videos(?:\?.*\bpage=(?P<page>\d+)
)?
'
+ _VALID_URL = r'https?://(?:www\.)?vier\.be/(?P<program>[^/]+)/videos(?:\?.*\bpage=(?P<page>\d+)
|$)
'
_TESTS = [{
'url': 'http://www.vier.be/demoestuin/videos',
'info_dict': {