Skip to content

Commit

Permalink
feat(device) detect brand Beelink model: GT King
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed May 4, 2021
1 parent a4be05c commit a1878e4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,21 @@
model: LS424
os_family: GNU/Linux
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm; Android 9; GTKing) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 YaBrowser/20.11.0.180.01 Safari/537.36
os:
name: Android
version: "9"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 20.11.0.180.01
engine: Blink
engine_version: ""
device:
type: tv
brand: Beelink
model: GT King
os_family: Android
browser_family: Unknown
4 changes: 3 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20144,7 +20144,7 @@ Avenzo:

# Beelink
Beelink:
regex: '(?:Beelink (?:G[ST]1|LAKE I|SEA I|A1)|GT1mini-2|GT1-mini(?:-AT)?)(?:[);/ ]|$)'
regex: '(?:Beelink (?:G[ST]1|LAKE I|SEA I|A1)|GTKing|GT1mini-2|GT1-mini(?:-AT)?)(?:[);/ ]|$)'
device: 'tv'
models:
- regex: 'Beelink (G[ST]1|LAKE I|SEA I|A1)(?:[);/ ]|$)'
Expand All @@ -20153,6 +20153,8 @@ Beelink:
model: 'GT1 Mini'
- regex: 'GT1mini-2(?:[);/ ]|$)'
model: 'GT1 Mini 2'
- regex: 'GTKing(?:[);/ ]|$)'
model: 'GT King'

# MAXVI
MAXVI:
Expand Down

0 comments on commit a1878e4

Please sign in to comment.