Skip to content

Commit 3cb87c5

Browse files
authored
Detect apps: YakYak, Teams, Raindrop.io, Mailspring, Franz, Basecamp, Notion, Streamlabs OBS, Evernote, Vuhuv, OfferUp, Rambox Pro, TuneIn Radio, Strimio, Blitz and Fix detect SuperBird browser (#6792)
* feat(app) detect app YakYak * feat(app) detect apps: Teams, Raindrop.io, Mailspring, Franz * feat(app) detect apps: Basecamp, Notion * feat(app) detect apps: Streamlabs OBS, Evernote * fix: YAML Lint * feat(app) detect apps: Rambox Pro, TuneIn Radio, Strimio, Blitz * feat(browser) detect browser: SuperBird #6452 * feat(app) detect OfferUp #6452 * feat(app) detect Vuhuv #6452 * fix: tests TuneIn
1 parent b3147d9 commit 3cb87c5

File tree

7 files changed

+189
-7
lines changed

7 files changed

+189
-7
lines changed

Tests/Parser/Client/fixtures/browser.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3423,7 +3423,7 @@
34233423
version: 6.49.12.65
34243424
engine: Blink
34253425
engine_version: ""
3426-
-
3426+
-
34273427
user_agent: Mozilla/5.0 (Linux; Android 10; SM-G973U Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.185 Mobile Safari/537.36 EdgW/1.0
34283428
client:
34293429
type: browser
@@ -3432,3 +3432,11 @@
34323432
engine: WebKit
34333433
engine_version: "537.36"
34343434

3435+
-
3436+
user_agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Superbird/73.0.3683.103 Safari/537.36
3437+
client:
3438+
type: browser
3439+
name: SuperBird
3440+
version: 73.0.3683.103
3441+
engine: Blink
3442+
engine_version: ""

Tests/Parser/Client/fixtures/mobile_app.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,3 +581,45 @@
581581
type: mobile app
582582
name: Netflix
583583
version: ""
584+
-
585+
user_agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) yakyak/1.5.0 Chrome/58.0.3029.110 Electron/1.7.10 Safari/537.36
586+
client:
587+
type: mobile app
588+
name: YakYak
589+
version: 1.5.0
590+
-
591+
user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Teams/1.3.00.362 Chrome/66.0.3359.181 Electron/3.1.13 Safari/537.36
592+
client:
593+
type: mobile app
594+
name: Teams
595+
version: 1.3.00.362
596+
-
597+
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) StreamlabsOBS/0.23.2 Chrome/76.0.3809.146 Electron/6.1.11 Safari/537.36
598+
client:
599+
type: mobile app
600+
name: Streamlabs OBS
601+
version: 0.23.2
602+
-
603+
user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) TuneIn/1.20.0 Chrome/69.0.3497.128 Electron/4.2.8 Safari/537.36
604+
client:
605+
type: mobile app
606+
name: TuneIn Radio
607+
version: 1.20.0
608+
-
609+
user_agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) strimio-desktop/2.33.10 Chrome/87.0.4280.141 Electron/11.4.3 Safari/537.36
610+
client:
611+
type: mobile app
612+
name: Strimio
613+
version: 2.33.10
614+
-
615+
user_agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Blitz/1.14.3 Chrome/87.0.4280.141 Electron/11.2.1 Safari/537.36
616+
client:
617+
type: mobile app
618+
name: Blitz
619+
version: 1.14.3
620+
-
621+
user_agent: Mozilla/5.0 (Linux; Android 11;) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36 Vuhuv/2.1.0519
622+
client:
623+
type: mobile app
624+
name: Vuhuv
625+
version: 2.1.0519

Tests/Parser/Client/fixtures/pim.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,45 @@
131131
type: pim
132132
name: BathyScaphe
133133
version: ""
134+
-
135+
user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Raindrop.io/5.2.0 Chrome/82.0.4048.0 Electron/9.0.0-beta.3 Safari/537.36
136+
client:
137+
type: pim
138+
name: Raindrop.io
139+
version: 5.2.0
140+
-
141+
user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Franz/5.4.1 Chrome/76.0.3809.146 Electron/6.0.10 Safari/537.36
142+
client:
143+
type: pim
144+
name: Franz
145+
version: 5.4.1
146+
-
147+
user_agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Mailspring/1.7.4 Chrome/69.0.3497.128 Electron/4.2.2 Safari/537.36
148+
client:
149+
type: pim
150+
name: Mailspring
151+
version: 1.7.4
152+
-
153+
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Notion/2.0.8 Chrome/76.0.3809.146 Electron/6.1.5 Safari/537.36
154+
client:
155+
type: pim
156+
name: Notion
157+
version: 2.0.8
158+
-
159+
user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Basecamp3/2.1.0 Chrome/78.0.3904.130 Electron/7.1.5 Safari/537.36
160+
client:
161+
type: pim
162+
name: Basecamp
163+
version: 2.1.0
164+
-
165+
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Evernote/10.8.5 Chrome/87.0.4280.88 Electron/11.1.1 Safari/537.36
166+
client:
167+
type: pim
168+
name: Evernote
169+
version: 10.8.5
170+
-
171+
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ramboxpro/1.5.2 Chrome/83.0.4103.122 Electron/9.4.4 Safari/537.36
172+
client:
173+
type: pim
174+
name: Rambox Pro
175+
version: 1.5.2

Tests/fixtures/mobile_apps.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,3 +1119,19 @@
11191119
model: Neo SR620
11201120
os_family: Android
11211121
browser_family: Unknown
1122+
-
1123+
user_agent: 'OfferUp/3.81.2 (build: 140124316; samsung SM-J260T1 M1AJQ; Android 8.1.0; en_US)'
1124+
os:
1125+
name: Android
1126+
version: 8.1.0
1127+
platform: ""
1128+
client:
1129+
type: mobile app
1130+
name: OfferUp
1131+
version: 3.81.2
1132+
device:
1133+
type: smartphone
1134+
brand: Samsung
1135+
model: Galaxy J2 Core
1136+
os_family: Android
1137+
browser_family: Unknown

regexes/client/browsers.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,6 +1721,15 @@
17211721
engine:
17221722
default: 'Blink'
17231723

1724+
# SuperBird
1725+
- regex: 'SuperBird(?:/(\d+[\.\d]+))?'
1726+
name: 'SuperBird'
1727+
version: '$1'
1728+
engine:
1729+
default: 'WebKit'
1730+
versions:
1731+
28: 'Blink'
1732+
17241733
# Chrome Webview
17251734
- regex: 'Version/.* Chrome(?:/(\d+[\.\d]+))?'
17261735
name: 'Chrome Webview'
@@ -2136,11 +2145,6 @@
21362145
name: 'Sunrise'
21372146
version: '$1'
21382147

2139-
#SuperBird
2140-
- regex: 'SuperBird(?:/(\d+[\.\d]+))?'
2141-
name: 'SuperBird'
2142-
version: '$1'
2143-
21442148
#Vision Mobile Browser
21452149
- regex: 'Vision-Browser(?:/(\d+[\.\d]+))'
21462150
name: 'Vision Mobile Browser'

regexes/client/mobile_apps.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,11 @@
222222
name: 'Snapchat'
223223
version: '$1'
224224

225+
# Strimio (https://www.strimio.com/)
226+
- regex: 'strimio(?:-desktop)/(\d+\.(?:[\.\d]+))?'
227+
name: 'Strimio'
228+
version: '$1'
229+
225230
# UnityPlayer
226231
- regex: 'UnityPlayer/([\d\.]+)'
227232
name: 'UnityPlayer'
@@ -456,7 +461,7 @@
456461
- regex: 'TuneIn Radio Pro(?:[^/]+)?/(\d+[\.\d]+)'
457462
name: 'TuneIn Radio Pro'
458463
version: '$1'
459-
- regex: 'TuneIn Radio(?:[^/]+)?/(\d+[\.\d]+)'
464+
- regex: 'TuneIn(?: Radio(?:[^/]+)?)?/(\d+[\.\d]+)'
460465
name: 'TuneIn Radio'
461466
version: '$1'
462467

@@ -557,3 +562,33 @@
557562
- regex: 'OK(?:Android|iOS)/([\d\.]+)'
558563
name: 'Odnoklassniki'
559564
version: '$1'
565+
566+
# YakYak https://github.com/yakyak/yakyak
567+
- regex: 'yakyak/(\d+[\.\d]+)'
568+
name: 'YakYak'
569+
version: '$1'
570+
571+
# Microsoft Teams (https://www.microsoft.com/en/microsoft-teams/group-chat-software)
572+
- regex: 'Teams/(\d+[\.\d]+)'
573+
name: 'Teams'
574+
version: '$1'
575+
576+
# Streamlabs OBS (https://streamlabs.com/)
577+
- regex: 'StreamlabsOBS/(\d+[\.\d]+)'
578+
name: 'Streamlabs OBS'
579+
version: '$1'
580+
581+
# Blitz (https://blitz.gg/)
582+
- regex: 'Blitz/([\d\.]+)'
583+
name: 'Blitz'
584+
version: '$1'
585+
586+
# OfferUp (https://play.google.com/store/apps/details?id=com.offerup)
587+
- regex: 'OfferUp/([\d\.]+)'
588+
name: 'OfferUp'
589+
version: '$1'
590+
591+
# Vuhuv (https://play.google.com/store/apps/details?id=com.vuhuv)
592+
- regex: 'Vuhuv/([\d\.]+)'
593+
name: 'Vuhuv'
594+
version: '$1'

regexes/client/pim.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,38 @@
6262
- regex: 'BathyScaphe/'
6363
name: 'BathyScaphe'
6464
version: ''
65+
66+
# Raindrop.io (https://raindrop.io/)
67+
- regex: 'Raindrop.io/(\d+[\.\d]+)'
68+
name: 'Raindrop.io'
69+
version: '$1'
70+
71+
# Franz (https://meetfranz.com/)
72+
- regex: 'Franz/(\d+[\.\d]+)'
73+
name: 'Franz'
74+
version: '$1'
75+
76+
# Mailspring (https://www.electronjs.org/apps/mailspring)
77+
- regex: 'Mailspring/(\d+[\.\d]+)'
78+
name: 'Mailspring'
79+
version: '$1'
80+
81+
# Notion (https://www.notion.so/)
82+
- regex: 'Notion/(\d+[\.\d]+)'
83+
name: 'Notion'
84+
version: '$1'
85+
86+
# Basecamp (https://basecamp.com/)
87+
- regex: 'Basecamp[0-9]/?(\d+[\.\d]+)'
88+
name: 'Basecamp'
89+
version: '$1'
90+
91+
# Evernote (https://evernote.com/)
92+
- regex: 'Evernote/?(\d+[\.\d]+)'
93+
name: 'Evernote'
94+
version: '$1'
95+
96+
# Rambox Pro (https://rambox.app/)
97+
- regex: 'ramboxpro/(\d+\.[\.\d]+)?'
98+
name: 'Rambox Pro'
99+
version: '$1'

0 commit comments

Comments
 (0)