mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 20:27:06 -05:00 
			
		
		
		
	[vk] Fix upload date extraction
This commit is contained in:
		@@ -189,7 +189,7 @@ class VKIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        # Extract upload date
 | 
			
		||||
        upload_date = None
 | 
			
		||||
        mobj = re.search(r'id="mv_date_wrap".*?Added ([a-zA-Z]+ [0-9]+), ([0-9]+) at', info_page)
 | 
			
		||||
        mobj = re.search(r'id="mv_date(?:_views)?_wrap"[^>]*>([a-zA-Z]+ [0-9]+), ([0-9]+) at', info_page)
 | 
			
		||||
        if mobj is not None:
 | 
			
		||||
            mobj.group(1) + ' ' + mobj.group(2)
 | 
			
		||||
            upload_date = unified_strdate(mobj.group(1) + ' ' + mobj.group(2))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user