1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-10 19:37:25 +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=|
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):