Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves detection for Whale OS #7610

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Tests/Parser/fixtures/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4289,3 +4289,11 @@
version: "7"
platform: ""
family: Android
-
user_agent: Zeasn/2.0 Mozilla/5.0 (Linux;CE-HTML/1.0;U;en), Chrome/49.0.2623.87 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_UNKONWN/V8-NT563LA-LF1V250 (WESTPOINT,TETS-4919SM,wireless)
os:
name: Whale OS
short_name: WHS
version: "1"
platform: ""
family: Other Smart TV
6 changes: 3 additions & 3 deletions Tests/fixtures/tv-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6677,8 +6677,8 @@
-
user_agent: Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i;CE-HTML/1.0;U;en), Chrome/42.0.2311.152 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_nt563/V8-NT563LA-LF1V140 (KALLEY,43D1800,wireless)
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ARM
client:
type: browser
Expand All @@ -6690,7 +6690,7 @@
type: tv
brand: Kalley
model: 43D1800
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; NEO-X8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Expand Down
64 changes: 32 additions & 32 deletions Tests/fixtures/tv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6703,74 +6703,74 @@
-
user_agent: Zeasn/2.0 Mozilla/5.0 (Linux;CE-HTML/1.0;U;en), Chrome/49.0.2623.87 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_UNKONWN/V8-NT563LA-LF1V250 (WESTPOINT,TETS-4919SM,wireless)
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ""
client:
type: browser
name: T-Browser
version: "2.0"
engine: Blink
engine_version: "49.0.2623.87"
engine_version: 49.0.2623.87
device:
type: tv
brand: Westpoint
model: TETS-4919SM
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux;CE-HTML/1.0;U;en), Chrome/42.0.2311.152 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_nt563/V8-NT563LA-LF1V286 (KALLEY,55D1240,wireless)
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ""
client:
type: browser
name: T-Browser
version: "2.0"
engine: Blink
engine_version: "42.0.2311.152"
engine_version: 42.0.2311.152
device:
type: tv
brand: Kalley
model: 55D1240
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux;CE-HTML/1.0;U;en), Chrome/49.0.2623.87 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_UNKONWN/V8-N563T01-LF1V196 (TCL,43S62FS,wired)
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ""
client:
type: browser
name: T-Browser
version: "2.0"
engine: Blink
engine_version: "49.0.2623.87"
engine_version: 49.0.2623.87
device:
type: tv
brand: TCL
model: 43S62FS
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux;CE-HTML/1.0;U;en), Chrome/42.0.2311.152 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_nt563/V8-NT563NA-LF1V278 (JVC,32D1290,wireless)
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ""
client:
type: browser
name: T-Browser
version: "2.0"
engine: Blink
engine_version: "42.0.2311.152"
engine_version: 42.0.2311.152
device:
type: tv
brand: JVC
model: 32D1290
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36 OPR/31.0.1890.0 OMI/4.6.1.40.Dominik2.175 VSTVB MB100 HbbTV/1.2.1 (; JVC; MB110; 2.21.7.0; ;) SmartTvA/3.0.0
Expand Down Expand Up @@ -7027,56 +7027,56 @@
-
user_agent: Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i;CE-HTML/1.0;U;en), Chrome/61.0.3163.100 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_UNKONWN/V8-NT563LA-LF1V200 (AKAI,AK3219NF,wireless)
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ARM
client:
type: browser
name: T-Browser
version: "2.0"
engine: Blink
engine_version: "61.0.3163.100"
engine_version: 61.0.3163.100
device:
type: tv
brand: Akai
model: AK3219NF
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: Opera/9.80 Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i;CE-HTML/1.0;U;en), Chrome/42.0.2311.152 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_MT5655/V8-S586T02-LF1V052 (THOMSON,55UC6306,wired)
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ARM
client:
type: browser
name: T-Browser
version: "2.0"
engine: Blink
engine_version: "42.0.2311.152"
engine_version: 42.0.2311.152
device:
type: tv
brand: Thomson
model: 55UC6306
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: 'Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux;CE-HTML/1.0;U;en), Chrome/49.0.2623.87 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_UNKONWN/V8-S586T02-LF1V425 (TCL,U43P60*6,wired)'
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ""
client:
type: browser
name: T-Browser
version: "2.0"
engine: Blink
engine_version: "49.0.2623.87"
engine_version: 49.0.2623.87
device:
type: tv
brand: TCL
model: U43P60
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: Opera/9.80 (Linux mips; ) Presto/2.12.407 Version/12.51 MB95/3.3.8.n (AKAI, Si2157LG32, wireless)
Expand Down Expand Up @@ -7567,20 +7567,20 @@
-
user_agent: Opera/9.80 Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i;CE-HTML/1.0;U;en), Chrome/42.0.2311.152 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_MT5655/V8-S586T02-LF1V089 (THOMSON,49UC6306,wired)
os:
name: GNU/Linux
version: ""
name: Whale OS
version: "1"
platform: ARM
client:
type: browser
name: T-Browser
version: "2.0"
engine: Blink
engine_version: "42.0.2311.152"
engine_version: 42.0.2311.152
device:
type: tv
brand: Thomson
model: 49UC6306
os_family: GNU/Linux
os_family: Other Smart TV
browser_family: Chrome
-
user_agent: Opera/9.80 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i; CE-HTML/1.0; U; en) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 NETRANGEMMH Tbrowser/2.0 _TV_NT563/V8-NT563LA-LF1V380 (Panasonic_S,43D1270,wireless)
Expand Down
8 changes: 8 additions & 0 deletions regexes/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,14 @@
name: 'Whale OS'
version: '$1'

- regex: 'Zeasn/.*TBrowser/2.0' # https://partner.zeasn.com/partnerportal/WhaleVersion1/index.jhtml
name: 'Whale OS'
version: '1'

- regex: 'Zeasn/'
name: 'Whale OS'
version: ''

##########
# Tizen
##########
Expand Down
Loading