Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Check required data in a request.

Project description

Check required data in a request.


Some time ago Chrome Developers tools added Copy as Curl feature. This tool receives as input a curl command, parses it and checks what data is required to repeat the request successfully. It currently supports GET and POST requests.

The output depends on the action, which are currently print_results and print_scrapy_request. An example using the latest one is shown below:

$ python --action print_scrapy_request
curl '*'
-H 'accept-encoding: gzip, deflate, sdch' -H 'accept-language: en-US,en;q=0.8,es;q=0.6'
-H 'user-agent: Mozilla/5.0' -H 'accept: */*' -H 'referer:'
-H 'cookie: GeoIP=:::::v6; WMF-Last-Access=23-Jun-2015' --compressed

Scrapy request

from scrapy.http import Request

return Request(


0.1.0 (2015-11-05)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for minreq, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size minreq-0.1.0-py2.py3-none-any.whl (8.1 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size minreq-0.1.0.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page