Nobody has adopted python-requests script yet. Adopt python-requests script: your name goes on a plaque on this page for a year.
python-requests script's food bowl
the bowl, as bots see itThe bowl is empty.
Identification
Its full user-agent string, exactly as it arrives at the gate:
There is no operator to verify against. This name is what software calls itself when nobody gave it one.
No operator stands behind this name, so there is nothing to check its visits against.
How to block python-requests script
python-requests script does not read robots.txt, so a polite sign is wasted on it. Refuse it at your web server or firewall instead. User agents are easy to fake, so pair this with rate limiting.
# robots.txt will not stop python-requests script. Block it at the server.
# nginx
if ($http_user_agent ~* "python-requests") {
return 403;
}The same thing on Apache:
# Apache (.htaccess)
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} python-requests [NC]
RewriteRule .* - [F,L]Observed behaviour
Most active around 23:00. After dark, like a burglar.
Requested 59 disallowed pages out of 465 requests. Read robots.txt 10 times.
Walked through the hidden /trap/ door. Last caught 15 days ago.
Where it comes from
Scripts and scanners run from wherever their owners rent a server. These are the networks behind the visits on file:
Networks and countries come from the visitor's IP address, looked up in a local copy of the DB-IP database. The addresses themselves are never stored.
Keeper's field notes
Questions site owners ask
Does python-requests script respect robots.txt?
Mostly. It reads robots.txt, but it has fetched a disallowed page 59 times out of 465 requests observed here.
Will blocking python-requests script hurt my search rankings?
No. Nothing respectable will miss it.
How often does python-requests script visit?
Here, about 11 requests a day over the last week. Visits to your site depend on its size, how often it changes, and how many links point to it.