]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vgtv] Fix _VALID_URL (Closes #5578)
authorSergey M․ <dstftw@gmail.com>
Sat, 2 May 2015 18:58:42 +0000 (00:58 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 2 May 2015 18:58:42 +0000 (00:58 +0600)
youtube_dl/extractor/vgtv.py

index 2f111bf7ee042de1fce790a3f0d0f13be7f1feff..69dc9a75964f4c81a6aa010ec48b25db5c517b4a 100644 (file)
@@ -8,7 +8,7 @@ from ..utils import float_or_none
 
 
 class VGTVIE(InfoExtractor):
-    _VALID_URL = r'http://(?:www\.)?vgtv\.no/#!/(?:.*)/(?P<id>[0-9]+)'
+    _VALID_URL = r'http://(?:www\.)?vgtv\.no/#!/[^/]+/(?P<id>[0-9]+)'
     _TESTS = [
         {
             # streamType: vod