1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 03:32:05 +00:00

[vgtv] Relax _VALID_URL (closes #14223)

This commit is contained in:
Sergey M․ 2017-09-15 22:13:30 +07:00
parent 159d304a9f
commit cbf85239bb
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

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