From 15f10ac07d2e9b91fda77130c5eceb4bc7497c40 Mon Sep 17 00:00:00 2001 From: Roman Snegirev Date: Tue, 22 Aug 2023 09:23:57 +0300 Subject: [PATCH] Update patterns --- is_bot/__init__.py | 2 +- is_bot/_patterns.py | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/is_bot/__init__.py b/is_bot/__init__.py index d5f3901..7a0b507 100644 --- a/is_bot/__init__.py +++ b/is_bot/__init__.py @@ -1,5 +1,5 @@ from ._is_bot import Bots -__version__ = '0.2.3' +__version__ = '0.2.4' __all__ = ('Bots',) diff --git a/is_bot/_patterns.py b/is_bot/_patterns.py index 0e50390..1d1aeaa 100644 --- a/is_bot/_patterns.py +++ b/is_bot/_patterns.py @@ -1,8 +1,10 @@ -# https://github.com/omrilotan/isbot/tree/v3.6.3 +# https://github.com/omrilotan/isbot/tree/v3.6.13 default_patterns = { " daum[ /]", " deusu/", + " yadirectfetcher", "(?:^| )site", + "(?:^|[^g])news", "@[a-z]", "\\(at\\)[a-z]", "\\(github\\.com/", @@ -13,6 +15,7 @@ "^[^ ]{50,}$", "^active", "^ad muncher", + "^amaya", "^anglesharp/", "^anonymous", "^avsdevicesdk/", @@ -127,7 +130,6 @@ "monitor", "morningscore/", "neustar wpm", - "news", "nutch", "offbyone", "optimize", @@ -153,6 +155,7 @@ "sparkler/", "speedcurve", "spider", + "splash", "statuscake", "stumbleupon\\.com", "supercleaner",