mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 22:55:18 +00:00 
			
		
		
		
	[ie/vk] Support vksport URLs (#14341)
Closes #14175 Authored by: seproDev
This commit is contained in:
		| @@ -96,12 +96,12 @@ class VKIE(VKBaseIE): | ||||
|                     https?:// | ||||
|                         (?: | ||||
|                             (?: | ||||
|                                 (?:(?:m|new)\.)?vk(?:(?:video)?\.ru|\.com)/video_| | ||||
|                                 (?:(?:m|new|vksport)\.)?vk(?:(?:video)?\.ru|\.com)/video_| | ||||
|                                 (?:www\.)?daxab\.com/ | ||||
|                             ) | ||||
|                             ext\.php\?(?P<embed_query>.*?\boid=(?P<oid>-?\d+).*?\bid=(?P<id>\d+).*)| | ||||
|                             (?: | ||||
|                                 (?:(?:m|new)\.)?vk(?:(?:video)?\.ru|\.com)/(?:.+?\?.*?z=)?(?:video|clip)| | ||||
|                                 (?:(?:m|new|vksport)\.)?vk(?:(?:video)?\.ru|\.com)/(?:.+?\?.*?z=)?(?:video|clip)| | ||||
|                                 (?:www\.)?daxab\.com/embed/ | ||||
|                             ) | ||||
|                             (?P<videoid>-?\d+_\d+)(?:.*\blist=(?P<list_id>([\da-f]+)|(ln-[\da-zA-Z]+)))? | ||||
| @@ -359,6 +359,10 @@ class VKIE(VKBaseIE): | ||||
|             'url': 'https://vk.ru/video-220754053_456242564', | ||||
|             'only_matching': True, | ||||
|         }, | ||||
|         { | ||||
|             'url': 'https://vksport.vkvideo.ru/video-124096712_456240773', | ||||
|             'only_matching': True, | ||||
|         }, | ||||
|     ] | ||||
| 
 | ||||
|     def _real_extract(self, url): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sepro
					sepro