Browse Source

[vgtv] Fix _VALID_URL (Closes #5578)

Sergey M․ 10 years ago
parent
commit
0a64aa7355
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/vgtv.py

+ 1 - 1
youtube_dl/extractor/vgtv.py

@@ -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