PR
python-requests
Popular Python HTTP library for making web requests
About this crawler
python-requests is a web crawler identified by the regular-expression pattern python-requests in the User-Agent request header. It is categorised as http-library. Use the regex above to detect, log, allow, or block python-requests traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
0.20%
Technical details
- Name
- python-requests
- Pattern
python-requests- Tags
- http-library
- Added
- 2018/05/27
- Instances
- 7 known sample(s)
Sample User-Agent strings
python-requests/2.9.2
python-requests/2.11.1
python-requests/2.18.4
python-requests/2.19.1
python-requests/2.20.0
python-requests/2.21.0
python-requests/2.22.0
Block this crawler
robots.txt — disallow python-requests:
User-agent: python-requests
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} python-requests [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "python-requests") {
return 403;
}
← back to all crawlers