mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[iqiyi] Improve regex pattern again
This commit is contained in:
		| @@ -223,7 +223,7 @@ class IqiyiIE(InfoExtractor): | ||||
|         video_id = self._search_regex( | ||||
|             r'data-player-videoid\s*=\s*[\'"]([a-f\d]+)', webpage, 'video_id') | ||||
|         swf_url = self._search_regex( | ||||
|             r'(http://.+?MainPlayer.+?\.swf)', webpage, 'swf player URL') | ||||
|             r'(http://[^\'"]+MainPlayer[^.]+\.swf)', webpage, 'swf player URL') | ||||
|         _uuid = uuid.uuid4().hex | ||||
|  | ||||
|         enc_key = self.get_enc_key(swf_url, video_id) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yen Chi Hsuan
					Yen Chi Hsuan