scrapy-selenium icon indicating copy to clipboard operation
scrapy-selenium copied to clipboard

using scrapy FormRequest

Open expired-brain opened this issue 5 years ago • 1 comments

is there any way to use scrapy.FormRequest? like splash have SplashFormRequest, without it what is the option for handling post requests?

expired-brain avatar Apr 22 '19 16:04 expired-brain

I would suggest using SeleniumRequest with the method argument set to POST and parsing all the form fields manually, storing them to a dictionary and then urlencoding the dictionary and set it to body argument (because SeleniumRequest doesn't support formdata argument).

jenishsakhiya avatar Oct 10 '19 04:10 jenishsakhiya