From 5cb0af80d446ba116dcc2809d37660bd30883f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Thu, 20 Jul 2023 02:41:10 +1000 Subject: [PATCH] Add splash bot (#215) Co-authored-by: omrilotan <516342+omrilotan@users.noreply.github.com> --- CHANGELOG.md | 3 +++ fixtures/browsers.yml | 5 ----- fixtures/crawlers.yml | 4 ++++ package.json | 2 +- src/list.json | 1 + 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3026343..9769326 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## [3.6.13](https://github.com/omrilotan/isbot/compare/v3.6.12...v3.6.13) +- Treat Splash browser as bot [@viraptor](https://github.com/viraptor) + ## [3.6.12](https://github.com/omrilotan/isbot/compare/v3.6.11...v3.6.12) - mem: Make a group non capturing diff --git a/fixtures/browsers.yml b/fixtures/browsers.yml index 199a397..55811c0 100644 --- a/fixtures/browsers.yml +++ b/fixtures/browsers.yml @@ -555,9 +555,6 @@ Sonos Player: - Linux UPnP/1.0 Sonos/50.1-65071 (ACR_:samsung:dreamqltevl:SM-G950W) - Linux UPnP/1.0 Sonos/54.2-72031 (WDCR:Microsoft Windows NT 10.0.18362) - Linux UPnP/1.0 Sonos/54.2-72031 (ZPS11) -Splash: - - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) splash Version/10.0 Safari/602.1 - - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) splash Version/9.0 Safari/602.1 Spotify: - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_0) AppleWebKit/537.36 (KHTML, like Gecko) Spotify/1.1.9.383 Safari/537.36 - Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Spotify/1.1.31.703 Safari/537.36 @@ -677,7 +674,5 @@ ZZZ Glitches and Misidentified Browsers - These browsers are legit user agent ev - Mozilla / 5.0 (Linux; Android 7.0; GHIA_ZEUS_3G) AppleWebKit / 537.36 (KHTML, como Gecko) Chrome / 87.0.4280.101 Mobile Safari / 537.36 - Mozilla/5.0 (compatible; Lucidworks-Anda/2.0/0.10; +; ) - Mozilla/5.0 (en-us) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13 - - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) splash Version/10.0 Chrome/98.0.4758.80 Safari/537.36 - - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) splash Version/10.0 Safari/602.1 | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | en,* - mWebView.getSettings().setUserAgentString(\x22Mozilla/5.0 (Amiga; U; AmigaOS 1.3; en; rv:1.8.1.19); - "POST /parser Host: user-agents.net action=parse&format=[json|xml]&string=Mozilla%2F5.0%20%28Linux%3B%20Android%2012%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%20Version%2F4.0%20Chrome%2F96.0.4664.104%20Mobile%20DuckDuckGo%2F5%20Safari%2F537.36" diff --git a/fixtures/crawlers.yml b/fixtures/crawlers.yml index b9bea1a..e857725 100644 --- a/fixtures/crawlers.yml +++ b/fixtures/crawlers.yml @@ -693,6 +693,10 @@ Speedcurve: - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 PTST/SpeedCurve/230120.120134 Spinn3r: - Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.19; aggregator:Spinn3r (Spinn3r 3.1); http://spinn3r.com/robot) Gecko/2010040121 Firefox/3.0.19 +Splash: + - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) splash Version/10.0 Chrome/98.0.4758.80 Safari/537.36 + - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) splash Version/10.0 Safari/602.1 + - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) splash Version/9.0 Safari/602.1 Spotify: - Spotify/1.0 Sputnik Bot: diff --git a/package.json b/package.json index 00bbbae..a689d62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "isbot", - "version": "3.6.12", + "version": "3.6.13", "description": "🤖 detect bots/crawlers/spiders via the user agent.", "keywords": [ "bot", diff --git a/src/list.json b/src/list.json index b270485..d55df9c 100644 --- a/src/list.json +++ b/src/list.json @@ -154,6 +154,7 @@ "sparkler/", "speedcurve", "spider", + "splash", "statuscake", "stumbleupon\\.com", "supercleaner",