Browse Source

Add "heritrix" to bot user agent substrings

merge-requests/85/head
Deimos 5 years ago
parent
commit
82d0812a10
  1. 1
      tildes/tildes/request_methods.py

1
tildes/tildes/request_methods.py

@ -24,6 +24,7 @@ def is_bot(request: Request) -> bool:
bot_user_agent_substrings = ( bot_user_agent_substrings = (
"bingbot", "bingbot",
"Googlebot", "Googlebot",
"heritrix",
"http.rb", "http.rb",
"qotnews scraper", "qotnews scraper",
"Prometheus", "Prometheus",

Loading…
Cancel
Save