mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
Merge pull request #2396 from return42/block-petal
[mod] limiter: block requests from PetalBot
This commit is contained in:
commit
e840c48122
@ -37,6 +37,7 @@ block_user_agent = re.compile(
|
|||||||
# unmaintained Farside instances
|
# unmaintained Farside instances
|
||||||
+ r'|'
|
+ r'|'
|
||||||
+ re.escape(r'Mozilla/5.0 (compatible; Farside/0.1.0; +https://farside.link)')
|
+ re.escape(r'Mozilla/5.0 (compatible; Farside/0.1.0; +https://farside.link)')
|
||||||
|
+ '|.*PetalBot.*'
|
||||||
+ r')'
|
+ r')'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user