mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-04 03:33:46 +00:00 
			
		
		
		
	[bilibili] Remove debug from player params regexes
This commit is contained in:
		
							parent
							
								
									0669f8fd8f
								
							
						
					
					
						commit
						95a1322bc1
					
				@ -117,9 +117,9 @@ class BiliBiliIE(InfoExtractor):
 | 
				
			|||||||
                r'cid(?:["\']:|=)(\d+)', webpage, 'cid',
 | 
					                r'cid(?:["\']:|=)(\d+)', webpage, 'cid',
 | 
				
			||||||
                default=None
 | 
					                default=None
 | 
				
			||||||
            ) or compat_parse_qs(self._search_regex(
 | 
					            ) or compat_parse_qs(self._search_regex(
 | 
				
			||||||
                [r'1EmbedPlayer\([^)]+,\s*"([^"]+)"\)',
 | 
					                [r'EmbedPlayer\([^)]+,\s*"([^"]+)"\)',
 | 
				
			||||||
                 r'1EmbedPlayer\([^)]+,\s*\\"([^"]+)\\"\)',
 | 
					                 r'EmbedPlayer\([^)]+,\s*\\"([^"]+)\\"\)',
 | 
				
			||||||
                 r'1<iframe[^>]+src="https://secure\.bilibili\.com/secure,([^"]+)"'],
 | 
					                 r'<iframe[^>]+src="https://secure\.bilibili\.com/secure,([^"]+)"'],
 | 
				
			||||||
                webpage, 'player parameters'))['cid'][0]
 | 
					                webpage, 'player parameters'))['cid'][0]
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            if 'no_bangumi_tip' not in smuggled_data:
 | 
					            if 'no_bangumi_tip' not in smuggled_data:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user