mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	Fix W504 and disable W503 (closes #20863)
This commit is contained in:
		| @@ -443,8 +443,8 @@ class VKIE(VKBaseIE): | ||||
|             format_url = url_or_none(format_url) | ||||
|             if not format_url or not format_url.startswith(('http', '//', 'rtmp')): | ||||
|                 continue | ||||
|             if (format_id.startswith(('url', 'cache')) or | ||||
|                     format_id in ('extra_data', 'live_mp4', 'postlive_mp4')): | ||||
|             if (format_id.startswith(('url', 'cache')) | ||||
|                     or format_id in ('extra_data', 'live_mp4', 'postlive_mp4')): | ||||
|                 height = int_or_none(self._search_regex( | ||||
|                     r'^(?:url|cache)(\d+)', format_id, 'height', default=None)) | ||||
|                 formats.append({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․