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: FFF SmartLife, NuVision, Versus and Detect devices for exist brands #7362

Merged
merged 8 commits into from
Mar 4, 2023
3 changes: 3 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'4F' => 'Funai',
'5J' => 'Fusion5',
'FF' => 'Future Mobile Technology',
'FFF' => 'FFF SmartLife',
'FW' => 'FNF',
'FXT' => 'Fxtec',
'GT' => 'G-TiDE',
Expand Down Expand Up @@ -1035,6 +1036,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'NJ' => 'NuAns',
'NL' => 'NUU Mobile',
'N0' => 'Nuvo',
'NUV' => 'NuVision',
'NV' => 'Nvidia',
'NY' => 'NYX Mobile',
'O3' => 'O+',
Expand Down Expand Up @@ -1506,6 +1508,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'VE' => 'Vertu',
'VL' => 'Verykool',
'QV' => 'Verssed',
'VER' => 'Versus',
'V8' => 'Vesta',
'VT' => 'Vestel',
'48' => 'Vexia',
Expand Down
9 changes: 9 additions & 0 deletions Tests/fixtures/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5530,6 +5530,15 @@
producer:
name: IAB Technology Laboratory, Inc.
url: https://iabtechlab.com/
-
user_agent: 'Mozilla/5.0 (compatible;Cloudflare-Healthchecks/1.0;+https://www.cloudflare.com/; healthcheck-id: e645d1e65d3b18b4)'
bot:
name: Cloudflare Health Checks
category: Service Agent
url: https://developers.cloudflare.com/health-checks/
producer:
name: CloudFlare
url: http://www.cloudflare.com
-
user_agent: Mozilla/5.0 (Morningscore/1.0)
bot:
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/portable_media_player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -773,3 +773,21 @@
model: Touch
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; NW-A300Series) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 105.0.0.0
engine: Blink
engine_version: 105.0.0.0
device:
type: portable media player
brand: Sony
model: Walkman A300
os_family: Android
browser_family: Chrome
Loading