Skip to main content

The descusr web application development framework, a drequests project

Project description


Before install drequests,make sure had installed pydomain("sudo pip install pydomain")

drequests is an Apache2 Licensed HTTP library, written in Python, for human beings.

Python’s standard pycurl2 module provides most of the HTTP capabilities you need, but the API is thoroughly broken. It was built for a different time — and a different web. It requires an enormous amount of work (even method overrides) to perform the simplest of tasks..

Things shouldn’t be this way. Not in Python.
>>>from drequests import DRequests
>>>resp = DRequests(url = '')
<html ....


from drequests import DRequests
url = ''
resp = DRequests(url = url,referer = url,useragent = "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1",followlocation = 1)
code = resp.status_code
header = resp.headers
html = resp.text


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 drequests, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size drequests-1.3.tar.gz (4.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