[vk] Capture `clip` URLs

This commit is contained in:
pukkandan 2022-01-04 00:45:30 +05:30
parent 06e57990f7
commit 21df2117e4
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
1 changed files with 5 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class VKIE(VKBaseIE):
)
ext\.php\?(?P<embed_query>.*?\boid=(?P<oid>-?\d+).*?\bid=(?P<id>\d+).*)|
(?:
(?:(?:m|new)\.)?vk\.com/(?:.+?\?.*?z=)?video|
(?:(?:m|new)\.)?vk\.com/(?:.+?\?.*?z=)?(?:video|clip)|
(?:www\.)?daxab.com/embed/
)
(?P<videoid>-?\d+_\d+)(?:.*\blist=(?P<list_id>([\da-f]+)|(ln-[\da-zA-Z]+)))?
@ -309,6 +309,10 @@ class VKIE(VKBaseIE):
# The video is not available in your region.
'url': 'https://vk.com/video-51812607_171445436',
'only_matching': True,
},
{
'url': 'https://vk.com/clip30014565_456240946',
'only_matching': True,
}]
@staticmethod