]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vier:videos] Tune _VALID_URL not to match single videos
authorSergey M․ <dstftw@gmail.com>
Fri, 2 Jan 2015 16:09:00 +0000 (22:09 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 2 Jan 2015 16:09:00 +0000 (22:09 +0600)
youtube_dl/extractor/vier.py

index 0d9fb09a72db3eba452cdb42ec5ffde606befe70..619039e516c96209c38953e6b73f93a6895df54c 100644 (file)
@@ -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': {