mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[pbs] Allow empty attribute in player regex
This commit is contained in:
		| @@ -167,7 +167,7 @@ class PBSIE(InfoExtractor): | ||||
|                 return media_id, presumptive_id, upload_date | ||||
|  | ||||
|             url = self._search_regex( | ||||
|                 r'(?s)<iframe[^>]+?(?:[a-z-]+?=["\'].+?["\'][^>]+?)*?\bsrc=["\']([^\'"]+partnerplayer[^\'"]+)["\']', | ||||
|                 r'(?s)<iframe[^>]+?(?:[a-z-]+?=["\'].*?["\'][^>]+?)*?\bsrc=["\']([^\'"]+partnerplayer[^\'"]+)["\']', | ||||
|                 webpage, 'player URL') | ||||
|             mobj = re.match(self._VALID_URL, url) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․