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

Detect new brands: FreeYond, Getnord, Onida and Detect devices for exist brands #7526

Merged
merged 9 commits into from
Dec 5, 2023
3 changes: 3 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'FJ' => 'FOODO',
'FOS' => 'FOSSiBOT',
'FT' => 'Freetel',
'FEY' => 'FreeYond',
'FRU' => 'Frunsi',
'F4' => 'F&U',
'1F' => 'FMT',
Expand Down Expand Up @@ -597,6 +598,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'GE' => 'Geotel',
'Q4' => 'Geotex',
'GEO' => 'GEOZON',
'GNO' => 'Getnord',
'GER' => 'Gear Mobile',
'GH' => 'Ghia',
'2C' => 'Ghong',
Expand Down Expand Up @@ -1129,6 +1131,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'ONL' => 'OneLern',
'OAN' => 'Oangcc',
'OX' => 'Onix',
'OIN' => 'Onida',
'3O' => 'ONYX BOOX',
'O4' => 'ONN',
'9Q' => 'Onkyo',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/car_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -917,3 +917,21 @@
model: MPC-100
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 9; SDA-8TAB Build/PPR1.181005.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/119.0.6045.67 Safari/537.36 OPR/72.0.2254.67482
os:
name: Android
version: "9"
platform: ""
client:
type: browser
name: Opera
version: 72.0.2254.67482
engine: Blink
engine_version: 119.0.6045.67
device:
type: car browser
brand: Pioneer
model: SDA-8TAB
os_family: Android
browser_family: Opera
36 changes: 36 additions & 0 deletions Tests/fixtures/clienthints-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2197,3 +2197,39 @@
model: Galaxy Tab S6 10.5"
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 12; M2010J19SY Build/SKQ1.211202.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/119.0.6045.163 Mobile Safari/537.36
headers:
http-x-requested-with: com.oxoo.kinogo
os:
name: Android
version: "12"
platform: ""
client:
type: mobile app
name: Kinogo.ge
version: ""
device:
type: smartphone
brand: Xiaomi
model: Redmi 9T
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Mobile Safari/537.36
headers:
http-x-requested-with: com.tradron.hdvideodownloader
os:
name: Android
version: "11"
platform: ""
client:
type: mobile app
name: Download Hub
version: ""
device:
type: smartphone
brand: Google
model: Pixel 5
os_family: Android
browser_family: Unknown
126 changes: 126 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1767,3 +1767,129 @@
model: Pova 5 Pro 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; 2312DRAABC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.64 YaSearchBrowser/23.99.1 BroPP/1.0 YaSearchApp/23.99.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.99.1
engine: Blink
engine_version: 116.0.5845.64
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; 23090RA98C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.105 YaBrowser/23.11.1.105.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.11.1.105.00
engine: Blink
engine_version: 118.0.5993.105
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13 Pro+
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; 2308CPXD0C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.105 YaBrowser/23.11.1.105.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.11.1.105.00
engine: Blink
engine_version: 118.0.5993.105
device:
type: phablet
brand: Xiaomi
model: Mix Fold 3
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; 23076RA4BC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.232 YaBrowser/23.11.0.232.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.11.0.232.00
engine: Blink
engine_version: 118.0.5993.232
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12R
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 13; Xiaomi Mix Fold 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.48 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 118.0.5993.48
engine: Blink
engine_version: 118.0.5993.48
device:
type: phablet
brand: Xiaomi
model: Mix Fold 3
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 14; G9FPL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.48 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 118.0.5993.48
engine: Blink
engine_version: 118.0.5993.48
device:
type: phablet
brand: Google
model: Pixel Fold
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm; Android 13; 22101320C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.549 YaSearchBrowser/23.95.1 BroPP/1.0 YaSearchApp/23.95.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.95.1
engine: Blink
engine_version: 116.0.5845.549
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12 Pro Speed
os_family: Android
browser_family: Unknown
Loading
Loading