Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Brings automatic support for robots.txt files in requests.

Project description

Currently just a proof of concept, the module strives to be an extension to requests that brings automatic support for robots.txt.

How to use

Simply use RobotsAwareSession instead of the built-in requests.Session. If a resource is not allowed, a RobotsTxtDisallowed exception is raised.

How do I run the tests?

The easiest way would be to extract the source tarball and run:

$ python test/

Change Log


  • initial published version


Glued together by Łukasz Langa.

Project details

Release history Release notifications

Download files

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

Files for requests-robotstxt, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size requests-robotstxt-0.1.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page