[vgtv] Relax _VALID_URL (closes #14223)
authorSergey M․ <dstftw@gmail.com>
Fri, 15 Sep 2017 15:13:30 +0000 (22:13 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 15 Sep 2017 15:13:30 +0000 (22:13 +0700)
youtube_dl/extractor/vgtv.py

index 0f8c156a79ff7d67958b88e488ff50548bf3c998..c21a09c01f03035b092a09ab314bf73430cd7d5a 100644 (file)
@@ -42,7 +42,7 @@ class VGTVIE(XstreamIE):
                     )
                     /?
                     (?:
-                        \#!/(?:video|live)/|
+                        (?:\#!/)?(?:video|live)/|
                         embed?.*id=|
                         articles/
                     )|
@@ -146,7 +146,11 @@ class VGTVIE(XstreamIE):
         {
             'url': 'abtv:140026',
             'only_matching': True,
-        }
+        },
+        {
+            'url': 'http://www.vgtv.no/video/84196/hevnen-er-soet-episode-10-abu',
+            'only_matching': True,
+        },
     ]
 
     def _real_extract(self, url):