Skip to content

Commit

Permalink
feat(device) detect new brand Blackton: Bt 32FS32B
Browse files Browse the repository at this point in the history
feat(device) detect brand KENSHI: Armor I1 Slim
feat(device) detect brand HongTop: Smart TV
feat(device) detect brand Tecno Mobile: Spark 30 (TECNO KL6), Phantom V2 Flip (TECNO AE11)
feat(device) detect brand Huawei: Honor X7c (ALT-LX1), Honor Pad X8a WiFi (NDL-W09)
feat(device) detect brand Realme: 13 5G (RMX3951)
feat(device) detect brand Blackview: Tab 16 Pro
feat(device) detect brand Lenovo: Xiaoxin Pad Pro 12.7" (TB375FC)
feat(device) detect brand Vivo: X200 Pro (V2405A), V40 Lite (V2424, V2417)
feat(device) detect brand Lingbo: L16 Max
feat(device) detect brand Oukitel: WP52
feat(device) detect brand Motorola: Moto Razr 50 (XT2453-2), Moto G85 5G
  • Loading branch information
sanchezzzhak committed Nov 18, 2024
1 parent 1256b16 commit 51267da
Show file tree
Hide file tree
Showing 5 changed files with 383 additions and 14 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'BLK' => 'Black Box',
'BF' => 'Black Fox',
'BPC' => 'Blackpcs',
'BLT' => 'Blackton',
'B2' => 'Blackview',
'2Y' => 'b2m',
'BP' => 'Blaupunkt',
Expand Down
234 changes: 234 additions & 0 deletions Tests/fixtures/smartphone-41.yml
Original file line number Diff line number Diff line change
Expand Up @@ -719,3 +719,237 @@
model: G15 Mini
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 13; Armor I1 Slim) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 YaSearchBrowser/23.56.1 BroPP/1.0 YaSearchApp/23.56.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.56.1
engine: Blink
engine_version: 112.0.0.0
device:
type: smartphone
brand: KENSHI
model: Armor I1 Slim
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 14; ALT-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.859 YaSearchBrowser/23.111.1 BroPP/1.0 YaSearchApp/23.111.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.111.1
engine: Blink
engine_version: 118.0.5993.859
device:
type: smartphone
brand: Huawei
model: Honor X7c
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 14; RMX3951) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.2.123.00
engine: Blink
engine_version: 128.0.6613.123
device:
type: smartphone
brand: Realme
model: 13 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; TECNO KL6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.2.123.00
engine: Blink
engine_version: 128.0.6613.123
device:
type: smartphone
brand: Tecno Mobile
model: Spark 30
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; UMIDIGI G9 5G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.2.123.00
engine: Blink
engine_version: 128.0.6613.123
device:
type: smartphone
brand: UMIDIGI
model: G9 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; TECNO AE11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.2.123.00
engine: Blink
engine_version: 128.0.6613.123
device:
type: smartphone
brand: Tecno Mobile
model: Phantom V2 Flip
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 7.0; Meizu S6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.120 YaBrowser/23.11.5.120.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "7.0"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.11.5.120.00
engine: Blink
engine_version: 118.0.5993.120
device:
type: smartphone
brand: Meizu
model: S6
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 15; V2405A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "15"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.2.123.00
engine: Blink
engine_version: 128.0.6613.123
device:
type: smartphone
brand: Vivo
model: X200 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; WP52) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.112 YaBrowser/24.10.1.112.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.1.112.00
engine: Blink
engine_version: 128.0.6613.112
device:
type: smartphone
brand: Oukitel
model: WP52
os_family: Android
browser_family: Unknown
-
user_agent: HMozilla/5.0 (Linux; arm_64; Android 14; XT2453-2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.2566 YaSearchBrowser/24.100.1 BroPP/1.0 YaSearchApp/24.100.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.100.1
engine: Blink
engine_version: 128.0.6613.2566
device:
type: smartphone
brand: Motorola
model: Moto Razr 50
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; moto g85 5G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.2.123.00
engine: Blink
engine_version: 128.0.6613.123
device:
type: smartphone
brand: Motorola
model: Moto G85 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; V2424) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.657 YaSearchBrowser/24.102.1 BroPP/1.0 YaSearchApp/24.102.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.102.1
engine: Blink
engine_version: 128.0.6613.657
device:
type: smartphone
brand: Vivo
model: V40 Lite
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; V2417) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.2602 YaSearchBrowser/24.100.1 BroPP/1.0 YaSearchApp/24.100.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.100.1
engine: Blink
engine_version: 128.0.6613.2602
device:
type: smartphone
brand: Vivo
model: V40 Lite
os_family: Android
browser_family: Unknown
72 changes: 72 additions & 0 deletions Tests/fixtures/tablet-12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -521,3 +521,75 @@
model: TG 15
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 9; L16 Max) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.85 YaSearchBrowser/24.91/apad BroPP/1.0 YaSearchApp/24.91/apad webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "9"
platform: ARM
client:
type: browser
name: Yandex Browser
version: "24.91"
engine: Blink
engine_version: 126.0.6478.85
device:
type: tablet
brand: Lingbo
model: L16 Max
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 14; NDL-W09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.862 YaSearchBrowser/23.111/apad BroPP/1.0 YaSearchApp/23.111/apad webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: "23.111"
engine: Blink
engine_version: 118.0.5993.862
device:
type: tablet
brand: Huawei
model: Honor Pad X8a WiFi
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; TB375FC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.01 Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.2.123.01
engine: Blink
engine_version: 128.0.6613.123
device:
type: tablet
brand: Lenovo
model: Xiaoxin Pad Pro 12.7"
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; Tab 16 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.657 YaSearchBrowser/24.102/apad BroPP/1.0 YaSearchApp/24.102/apad webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: "24.102"
engine: Blink
engine_version: 128.0.6613.657
device:
type: tablet
brand: Blackview
model: Tab 16 Pro
os_family: Android
browser_family: Unknown
36 changes: 36 additions & 0 deletions Tests/fixtures/tv-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4539,3 +4539,39 @@
model: TX3 Mini
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 12; Bt_32FS32B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.141 YaApp_Android/22.36/apad YaSearchBrowser/22.36/apad BroPP/1.0 SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: "22.36"
engine: Blink
engine_version: 98.0.4758.141
device:
type: tv
brand: Blackton
model: Bt 32FS32B
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 10; HONGTOP_box) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.00 Safari/537.36
os:
name: Android
version: "10"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.10.2.123.00
engine: Blink
engine_version: 128.0.6613.123
device:
type: tv
brand: HongTop
model: Smart TV
os_family: Android
browser_family: Unknown
Loading

0 comments on commit 51267da

Please sign in to comment.