mirror of https://github.com/scrapy/scrapy.git
FormRequest: <input>'s default type must be text
This commit is contained in:
parent
7a438a51b7
commit
2d25eab0df
|
|
@ -107,7 +107,7 @@ def _get_inputs(form, formdata, dont_click, clickdata, response):
|
|||
|
||||
inputs = form.xpath('descendant::textarea'
|
||||
'|descendant::select'
|
||||
'|descendant::input[@type['
|
||||
'|descendant::input[not(@type) or @type['
|
||||
' translate(., "SUBMIT", "submit") != "submit"'
|
||||
' and translate(., "IMAGE", "image") !="image"'
|
||||
' and translate(., "RESET", "reset") != "reset"'
|
||||
|
|
|
|||
Loading…
Reference in New Issue