requests-robotstxt
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/test_robotstxt.py
Change Log
0.1.0
initial published version
Metadata
Release files for requests-robotstxt 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| requests-robotstxt-0.1.0.tar.gz | 3.9 kB | Without provenance | Details for requests-robotstxt-0.1.0.tar.gz |
Release files / requests-robotstxt-0.1.0.tar.gz
| Download URL | requests-robotstxt-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
502292aac0e7c2ef7de34921d4e59ff38a82b4412255f551f8f99d1718213563
|
|
BLAKE2b-256 checksum How to use checksums |
d2962c5d5d1420370b8f6193f562573623095245cc09e4820385b4e7d43540a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for requests-robotstxt 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.