mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 06:37:07 -05:00 
			
		
		
		
	[extractor/common] Improve _form_hidden_inputs and rename to _hidden_inputs
This commit is contained in:
		@@ -35,7 +35,7 @@ class PromptFileIE(InfoExtractor):
 | 
			
		||||
            raise ExtractorError('Video %s does not exist' % video_id,
 | 
			
		||||
                                 expected=True)
 | 
			
		||||
 | 
			
		||||
        fields = self._form_hidden_inputs(webpage)
 | 
			
		||||
        fields = self._hidden_inputs(webpage)
 | 
			
		||||
        post = compat_urllib_parse.urlencode(fields)
 | 
			
		||||
        req = compat_urllib_request.Request(url, post)
 | 
			
		||||
        req.add_header('Content-type', 'application/x-www-form-urlencoded')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user