Skip to content

Commit 9eed693

Browse files
committed
feat(device) detect brand Teclast: 98
feat(device) detect brand Tecno Mobile: Camon 30 5G (TECNO CL7k) feat(device) detect brand Multilaser: Elite 2 feat(device) detect brand Xiaomi: 15 Pro feat(device) detect brand Yandex: Station 2
2 parents 415d6b0 + bfce66a commit 9eed693

File tree

9 files changed

+559
-21
lines changed

9 files changed

+559
-21
lines changed

Parser/Device/AbstractDeviceParser.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ abstract class AbstractDeviceParser extends AbstractParser
139139
'6L' => 'ALDI SÜD',
140140
'3L' => 'Alfawise',
141141
'4A' => 'Aligator',
142+
'ALS' => 'All Star',
142143
'AA' => 'AllCall',
143144
'3A' => 'AllDocube',
144145
'A2' => 'Allview',
@@ -189,7 +190,8 @@ abstract class AbstractDeviceParser extends AbstractParser
189190
'59' => 'ArtLine',
190191
'8A' => 'Asano',
191192
'90' => 'Asanzo',
192-
'1U' => 'Astro',
193+
'1U' => 'Astro (UA)',
194+
'AST' => 'astro (MY)',
193195
'A4' => 'Ask',
194196
'A8' => 'Assistant',
195197
'ASS' => 'ASSE',
@@ -653,6 +655,7 @@ abstract class AbstractDeviceParser extends AbstractParser
653655
'1F' => 'FMT',
654656
'FPT' => 'FPT',
655657
'FG' => 'Fuego',
658+
'FUJ' => 'FUJICOM',
656659
'FU' => 'Fujitsu',
657660
'4F' => 'Funai',
658661
'5J' => 'Fusion5',
@@ -699,6 +702,7 @@ abstract class AbstractDeviceParser extends AbstractParser
699702
'38' => 'GLONYX',
700703
'U6' => 'Glofiish',
701704
'GLO' => 'Glory Star',
705+
'GNE' => 'GN Electronics',
702706
'G7' => 'GoGEN',
703707
'GC' => 'GOCLEVER',
704708
'5G' => 'Gocomma',
@@ -1789,6 +1793,7 @@ abstract class AbstractDeviceParser extends AbstractParser
17891793
'UR' => 'Turkcell',
17901794
'4U' => 'TuCEL',
17911795
'TUV' => 'Tuvio',
1796+
'TUC' => 'TUCSON',
17921797
'2U' => 'Türk Telekom',
17931798
'TV' => 'TVC',
17941799
'TW' => 'TWM',
@@ -1815,6 +1820,7 @@ abstract class AbstractDeviceParser extends AbstractParser
18151820
'UNI' => 'Unistrong',
18161821
'U2' => 'UNIWA',
18171822
'UND' => 'Uniden',
1823+
'UNE' => 'UNITED',
18181824
'UGR' => 'United Group',
18191825
'UO' => 'Unnecto',
18201826
'UNN' => 'Unnion Technologies',

Tests/fixtures/peripheral.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,6 +1540,42 @@
15401540
model: SM15X
15411541
os_family: Android
15421542
browser_family: Chrome
1543+
-
1544+
user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; HF60LS-EU; 03.00.08; 1; DTV_W18Z); webOS.TV-2018; LG NetCast.TV-2013 Compatible (LGE, HF60LS-EU, wireless)
1545+
os:
1546+
name: webOS
1547+
version: "4"
1548+
platform: ""
1549+
client:
1550+
type: browser
1551+
name: LG Browser
1552+
version: 8.00.00
1553+
engine: Blink
1554+
engine_version: 53.0.2785.34
1555+
device:
1556+
type: peripheral
1557+
brand: LG
1558+
model: HF60LS-EU
1559+
os_family: Other Mobile
1560+
browser_family: Unknown
1561+
-
1562+
user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/79.0.3945.79 Safari/537.36 LG Browser/8.00.00(LGE; 27ART10AKPL; 03.44.00; 0x00000001; DTV_N21D); webOS.TV-2021; LG NetCast.TV-2013 Compatible (LGE, 27ART10AKPL, wireless)
1563+
os:
1564+
name: webOS
1565+
version: "6"
1566+
platform: ""
1567+
client:
1568+
type: browser
1569+
name: LG Browser
1570+
version: 8.00.00
1571+
engine: Blink
1572+
engine_version: 79.0.3945.79
1573+
device:
1574+
type: peripheral
1575+
brand: LG
1576+
model: StandbyME
1577+
os_family: Other Mobile
1578+
browser_family: Unknown
15431579
-
15441580
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; Aura_TELPAD_MT7_tablet) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Mobile Safari/537.36 OPR/76.0.4017.107
15451581
os:

Tests/fixtures/smart_speaker.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,3 +329,21 @@
329329
model: Echo Show (Gen 2)
330330
os_family: Android
331331
browser_family: Chrome
332+
-
333+
user_agent: Mozilla/5.0 (Linux; arm; Android 9; yandexstation_2 Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/118.0.5993.550 Mobile Safari/537.36
334+
os:
335+
name: Android
336+
version: "9"
337+
platform: ARM
338+
client:
339+
type: browser
340+
name: Chrome Webview
341+
version: 118.0.5993.550
342+
engine: Blink
343+
engine_version: 118.0.5993.550
344+
device:
345+
type: smart speaker
346+
brand: Yandex
347+
model: Station 2
348+
os_family: Android
349+
browser_family: Chrome

Tests/fixtures/smartphone-22.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9723,7 +9723,7 @@
97239723
engine_version: 79.0.3945.93
97249724
device:
97259725
type: smartphone
9726-
brand: Astro
9726+
brand: Astro (UA)
97279727
model: S451
97289728
os_family: Android
97299729
browser_family: Chrome
@@ -9741,7 +9741,7 @@
97419741
engine_version: 74.0.3729.157
97429742
device:
97439743
type: smartphone
9744-
brand: Astro
9744+
brand: Astro (UA)
97459745
model: S501
97469746
os_family: Android
97479747
browser_family: Chrome

Tests/fixtures/smartphone-41.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3688,3 +3688,57 @@
36883688
model: King Kong Star 2
36893689
os_family: Android
36903690
browser_family: Chrome
3691+
-
3692+
user_agent: Mozilla/5.0 (Linux; Android 14; TECNO CL7k) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
3693+
os:
3694+
name: Android
3695+
version: "14"
3696+
platform: ""
3697+
client:
3698+
type: browser
3699+
name: Chrome Mobile
3700+
version: 131.0.0.0
3701+
engine: Blink
3702+
engine_version: 131.0.0.0
3703+
device:
3704+
type: smartphone
3705+
brand: Tecno Mobile
3706+
model: Camon 30 5G
3707+
os_family: Android
3708+
browser_family: Chrome
3709+
-
3710+
user_agent: Mozilla/5.0 (Linux; arm; Android 10; Multilaser_Elite_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.67 YaSearchBrowser/24.106.1 BroPP/1.0 YaSearchApp/24.106.1 webOmni SA/3 Mobile Safari/537.36
3711+
os:
3712+
name: Android
3713+
version: "10"
3714+
platform: ARM
3715+
client:
3716+
type: browser
3717+
name: Yandex Browser
3718+
version: 24.106.1
3719+
engine: Blink
3720+
engine_version: 128.0.6613.67
3721+
device:
3722+
type: smartphone
3723+
brand: Multilaser
3724+
model: Elite 2
3725+
os_family: Android
3726+
browser_family: Unknown
3727+
-
3728+
user_agent: Mozilla/5.0 (Linux; U; Android 15; zh-CN; 2410DPN6CC Build/AQ3A.240812.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/123.0.6312.80 Quark/7.5.1.691 Mobile Safari/537.36
3729+
os:
3730+
name: Android
3731+
version: "15"
3732+
platform: ""
3733+
client:
3734+
type: browser
3735+
name: Quark
3736+
version: 7.5.1.691
3737+
engine: Blink
3738+
engine_version: 123.0.6312.80
3739+
device:
3740+
type: smartphone
3741+
brand: Xiaomi
3742+
model: 15 Pro
3743+
os_family: Android
3744+
browser_family: Chrome

Tests/fixtures/tablet-12.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,3 +1079,21 @@
10791079
model: Y2 Tab
10801080
os_family: Android
10811081
browser_family: Chrome
1082+
-
1083+
user_agent: Mozilla/5.0 (Linux; Android 6.0; 98 (M1E3)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Safari/537.36
1084+
os:
1085+
name: Android
1086+
version: "6.0"
1087+
platform: ""
1088+
client:
1089+
type: browser
1090+
name: Chrome
1091+
version: 71.0.3578.99
1092+
engine: Blink
1093+
engine_version: 71.0.3578.99
1094+
device:
1095+
type: tablet
1096+
brand: Teclast
1097+
model: "98"
1098+
os_family: Android
1099+
browser_family: Chrome

0 commit comments

Comments
 (0)