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