aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-09-15 22:13:30 +0700
committerSergey M․ <dstftw@gmail.com>2017-09-15 22:13:30 +0700
commitcbf85239bbb835162725cd4c8758831ca1003445 (patch)
tree986a4e12a81c7ac74fc08494c6581ce9c1bf5a61
parent159d304a9fa2b91d91a60fe3bdf2211a59bcf346 (diff)
[vgtv] Relax _VALID_URL (closes #14223)
-rw-r--r--youtube_dl/extractor/vgtv.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vgtv.py b/youtube_dl/extractor/vgtv.py
index 0f8c156a7..c21a09c01 100644
--- a/youtube_dl/extractor/vgtv.py
+++ b/youtube_dl/extractor/vgtv.py
@@ -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):