mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[vk] Detect vimeo embeds (Closes #7021)
This commit is contained in:
		| @@ -17,6 +17,7 @@ from ..utils import ( | ||||
|     unescapeHTML, | ||||
|     unified_strdate, | ||||
| ) | ||||
| from .vimeo import VimeoIE | ||||
|  | ||||
|  | ||||
| class VKIE(InfoExtractor): | ||||
| @@ -249,6 +250,10 @@ class VKIE(InfoExtractor): | ||||
|         if youtube_url: | ||||
|             return self.url_result(youtube_url, 'Youtube') | ||||
|  | ||||
|         vimeo_url = VimeoIE._extract_vimeo_url(url, info_page) | ||||
|         if vimeo_url is not None: | ||||
|             return self.url_result(vimeo_url) | ||||
|  | ||||
|         m_rutube = re.search( | ||||
|             r'\ssrc="((?:https?:)?//rutube\.ru\\?/video\\?/embed(?:.*?))\\?"', info_page) | ||||
|         if m_rutube is not None: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․