monperrus / crawler-user-agents

Syntactic patterns of HTTP user-agents used by bots / robots / crawlers / scrapers / spiders. pull-request welcome :star:
MIT License
1.17k stars 249 forks source link

I noticed a recent bot which I believe is coming from Tencent but can't find documentation for - Ottabot #329

Open daviddfm opened 1 year ago

daviddfm commented 1 year ago

Hi! πŸ‘‹

Firstly, thanks for your work on this project! πŸ™‚

Today I used patch-package to patch crawler-user-agents@1.0.110 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/crawler-user-agents/crawler-user-agents.json b/node_modules/crawler-user-agents/crawler-user-agents.json
index 13c9910..70836b8 100644
--- a/node_modules/crawler-user-agents/crawler-user-agents.json
+++ b/node_modules/crawler-user-agents/crawler-user-agents.json
@@ -5140,5 +5140,13 @@
       "Mozilla/5.0 (compatible; StractBot/0.1; open source search engine; +https://trystract.com/webmasters)"
     ],
     "url": "https://trystract.com/webmasters"
+  },
+  {
+    "pattern": "Ottabot",
+    "addition_date": "2023/09/06",
+    "instances": [
+      "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 (Ottabot/0.1.0)"
+    ],
+    "url": ""
   }
 ]

This issue body was partially generated by patch-package.

monperrus commented 1 year ago

Thanks a lot David. Would you propose a pull-request?