Skip to content

Commit 077cd15

Browse files
committed
Recognise search providers inapp browser
1 parent 850fcd7 commit 077cd15

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [5.1.4](https://github.com/omrilotan/isbot/compare/v5.1.3...v5.1.4)
4+
5+
- Recognise search providers inapp browsers
6+
- Ignore Crosswalk project: An old project that is no longer maintained and has insignificant usage
7+
38
## [5.1.3](https://github.com/omrilotan/isbot/compare/v5.1.2...v5.1.3)
49

510
- Recognise browsers: Ecosia ios in-app browser, Phantom in-app browser

fixtures/browsers.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,9 @@ Motorola Internet:
365365
- MOT-VE240/00.72 UP.Browser/7.2.7.5.548 (GUI) MMP/2.0 Novarra-Vision/8.0
366366
Mozilla Android Components:
367367
- MozacFetch/49.0.20200702190156
368-
Naver Whale:
368+
Naver:
369+
- Mozilla/5.0 (iPhone; CPU iPhone OS 17_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/605.1 NAVER(inapp; search; 2000; 12.3.6; 14PRO)
370+
- Mozilla/5.0 (Linux; Android 8.0.0; SM-N950N Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.88 Mobile Safari/537.36 NAVER(inapp; search; 1000; 11.8.4; 11)
369371
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.57 Whale/3.14.133.23 Safari/537.36
370372
NCSA Mosaic:
371373
- NCSA_Mosaic/2.7b5 (X11;Linux 2.6.7 i686) libwww/2.12 modified
@@ -703,6 +705,9 @@ ZZZ Glitches and Misidentified Browsers - These browsers are legit user agent ev
703705
- User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 11_3_1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/92.0 Safari /535.7
704706
- User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.74 Safari/537.36 Edg/90.0.818.62
705707
- User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0 Safari /537.36
708+
ZZZ Insignificat bots - Crosswalk project (deprecated):
709+
- Mozilla/5.0 (Linux; Android 11;SM-G9866N Build/PR1A.2007820.012; wv) AppleWebKit/537.36 (KHTML,linke Gecko) Version/4.0 Chrome/80.0.3987.163 Whale/1.0.0.0 Crosswalk/25.80.14.26 Mobile Safari/537.36 NAVER(inapp; search; 900; 11.2.5)
710+
- Mozilla/5.0 (Linux; Android 12; SM-G975N Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.232 Whale/1.0.0.0 Crosswalk/26.90.3.21 Mobile Safari/537.36 NAVER(inapp; search; 1010; 11.11.3)
706711
ZZZ Insignificat bots - These bots have very low appearance rate and are not worth blocking:
707712
- Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) 360JK yunjiankong 427691
708713
- Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; Banca Caboto s.p.a.)

fixtures/crawlers.yml

-3
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,6 @@ Nagios check_http:
470470
- check_http/v1.5 (nagios-plugins 1.5)
471471
NalezenCzBot:
472472
- NalezenCzBot/1.0 (http://www.nalezen.cz/about-crawler)
473-
Naver Search:
474-
- Mozilla/5.0 (Linux; Android 12; SM-G975N Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.232 Whale/1.0.0.0 Crosswalk/26.90.3.21 Mobile Safari/537.36 NAVER(inapp; search; 1010; 11.11.3)
475-
- Mozilla/5.0 (Linux; Android 8.0.0; SM-N950N Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.88 Mobile Safari/537.36 NAVER(inapp; search; 1000; 11.8.4; 11)
476473
nbertaupete95:
477474
- Mozilla/5.0/Firefox/42.0 - nbertaupete95(at)gmail.com
478475
Netcraft Survey Bot:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "isbot",
3-
"version": "5.1.3",
3+
"version": "5.1.4",
44
"description": "🤖/👨‍🦰 Recognise bots/crawlers/spiders using the user agent string.",
55
"keywords": [
66
"bot",

src/patterns.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"(?:^|[^g])news",
66
"(?<! (?:channel/|google/))google(?!(app|/google| pixel))",
77
"(?<! cu)bot(?:[^\\w]|_|$)",
8-
"(?<!(?: ya| yandex|^job) ?)search",
8+
"(?<!(?: ya| yandex|^job|inapp;) ?)search",
99
"(?<!(?:lib))http",
1010
"(?<![hg]m)score",
1111
"(?<!android|ios)@",

0 commit comments

Comments
 (0)