mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 01:25:11 +00:00
[vk] Capture clip
URLs
This commit is contained in:
parent
06e57990f7
commit
21df2117e4
1 changed files with 5 additions and 1 deletions
|
@ -87,7 +87,7 @@ class VKIE(VKBaseIE):
|
||||||
)
|
)
|
||||||
ext\.php\?(?P<embed_query>.*?\boid=(?P<oid>-?\d+).*?\bid=(?P<id>\d+).*)|
|
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/
|
(?:www\.)?daxab.com/embed/
|
||||||
)
|
)
|
||||||
(?P<videoid>-?\d+_\d+)(?:.*\blist=(?P<list_id>([\da-f]+)|(ln-[\da-zA-Z]+)))?
|
(?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.
|
# The video is not available in your region.
|
||||||
'url': 'https://vk.com/video-51812607_171445436',
|
'url': 'https://vk.com/video-51812607_171445436',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'url': 'https://vk.com/clip30014565_456240946',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in a new issue