We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
This looks good:
In : scrapy.FormRequest('http://example.com', method='GET', formdata=(('foo', 'bar'), ('foo', 'baz')))
Out: <GET http://example.com?foo=bar&foo=baz>
While here is the issue:
In : response = scrapy.http.TextResponse(url='http://example.com', body='<form></form>', encoding='utf8')
In : scrapy.FormRequest.from_response(response, method='GET', formdata=(('foo', 'bar'), ('foo', 'baz')))
Out: <GET http://example.com?foo=baz>
(Tested with Scrapy 1.5.0 and Python 3.6.5)
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
I'll take a look if no one's jumped on it yet.
Fix scrapy#3247: Allow scrapy.FormRequest.from_response method to han…
…dle duplicate keys
Merge pull request #3283 from CCInCharge/issue3247
Fix #3247: Allow scrapy.FormRequest.from_response method to handle duplicate keys
Successfully merging a pull request may close this issue.