[extractor/common] Improve _form_hidden_inputs and rename to _hidden_inputs
This commit is contained in:
parent
9750e7d70e
commit
f8da79f828
11 changed files with 21 additions and 14 deletions
|
@ -58,7 +58,7 @@ class HostingBulkIE(InfoExtractor):
|
|||
r'<img src="([^"]+)".+?class="pic"',
|
||||
webpage, 'thumbnail', fatal=False)
|
||||
|
||||
fields = self._form_hidden_inputs(webpage)
|
||||
fields = self._hidden_inputs(webpage)
|
||||
|
||||
request = compat_urllib_request.Request(url, urlencode_postdata(fields))
|
||||
request.add_header('Content-type', 'application/x-www-form-urlencoded')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue