mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[vk.com] Updated the _VALID_URL regex for the playlist IE. Removed optional m, and named the id group.
This commit is contained in:
		@@ -209,7 +209,7 @@ class VKIE(InfoExtractor):
 | 
				
			|||||||
class VKUserVideosIE(InfoExtractor):
 | 
					class VKUserVideosIE(InfoExtractor):
 | 
				
			||||||
    IE_NAME = 'vk.com:user-videos'
 | 
					    IE_NAME = 'vk.com:user-videos'
 | 
				
			||||||
    IE_DESC = 'vk.com:All of a user\'s videos'
 | 
					    IE_DESC = 'vk.com:All of a user\'s videos'
 | 
				
			||||||
    _VALID_URL = r'https?://(?:m\.)?vk\.com/videos([0-9]+)(?:m\?.*)?'
 | 
					    _VALID_URL = r'https?://vk\.com/videos(?P<id>[0-9]+)(?:m\?.*)?'
 | 
				
			||||||
    _TEMPLATE_URL = 'https://vk.com/videos'
 | 
					    _TEMPLATE_URL = 'https://vk.com/videos'
 | 
				
			||||||
    _TEST = {
 | 
					    _TEST = {
 | 
				
			||||||
        'url': 'http://vk.com/videos205387401',
 | 
					        'url': 'http://vk.com/videos205387401',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user