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:
		| @@ -258,8 +258,8 @@ class YoukuShowIE(InfoExtractor): | ||||
|             transform_source=lambda s: js_to_json(strip_jsonp(s))).get('html') | ||||
|         if playlist_data is None: | ||||
|             return [None, None] | ||||
|         drama_list = (get_element_by_class('p-drama-grid', playlist_data) or | ||||
|                       get_element_by_class('p-drama-half-row', playlist_data)) | ||||
|         drama_list = (get_element_by_class('p-drama-grid', playlist_data) | ||||
|                       or get_element_by_class('p-drama-half-row', playlist_data)) | ||||
|         if drama_list is None: | ||||
|             raise ExtractorError('No episodes found') | ||||
|         video_urls = re.findall(r'<a[^>]+href="([^"]+)"', drama_list) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․