Exporting Scrapy requests in Curl format Exporting Scrapy requests in Curl format curl curl

Exporting Scrapy requests in Curl format


Not exactly answering the question, but I hope may help as well.

I remember going to browser developer tools, using the "Copy as cURL" functionality, then pasting it to the textbox here and getting a Python+Requests code, which should be easier to transform into Scrapy.Request() call.


You could use minreq to ouptut a Scrapy Request from curl. It even only outputs the necessary data to send to repeat the same request successfully.