mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 08:57:08 -05:00 
			
		
		
		
	[extractor/common] Relax _hidden_inputs
This commit is contained in:
		@@ -843,7 +843,7 @@ class InfoExtractor(object):
 | 
			
		||||
        for input in re.findall(r'(?i)<input([^>]+)>', html):
 | 
			
		||||
            if not re.search(r'type=(["\'])(?:hidden|submit)\1', input):
 | 
			
		||||
                continue
 | 
			
		||||
            name = re.search(r'name=(["\'])(?P<value>.+?)\1', input)
 | 
			
		||||
            name = re.search(r'(?:name|id)=(["\'])(?P<value>.+?)\1', input)
 | 
			
		||||
            if not name:
 | 
			
		||||
                continue
 | 
			
		||||
            value = re.search(r'value=(["\'])(?P<value>.*?)\1', input)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user