diff --git a/Parser/Device/AbstractDeviceParser.php b/Parser/Device/AbstractDeviceParser.php index aebf67391c..b65c3f58c0 100644 --- a/Parser/Device/AbstractDeviceParser.php +++ b/Parser/Device/AbstractDeviceParser.php @@ -1395,6 +1395,7 @@ abstract class AbstractDeviceParser extends AbstractParser '43' => 'Spectralink', 'SP' => 'Spice', '84' => 'Sprint', + 'SPU' => 'SPURT', 'QS' => 'SQOOL', 'S4' => 'Star', 'OL' => 'Starlight', diff --git a/Tests/fixtures/phablet-1.yml b/Tests/fixtures/phablet-1.yml index 4a643ce9ec..f4547adbb9 100644 --- a/Tests/fixtures/phablet-1.yml +++ b/Tests/fixtures/phablet-1.yml @@ -1679,3 +1679,19 @@ model: Galaxy Z Flip 5 os_family: Android browser_family: Unknown +- + user_agent: Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/20G75 Instagram 296.0.0.18.107 (iPhone14,8; iOS 16_6; en_US; en; scale=3.00; 1284x2778; 505423516) + os: + name: iOS + version: "16.6" + platform: "" + client: + type: mobile app + name: Instagram App + version: 296.0.0.18.107 + device: + type: phablet + brand: Apple + model: iPhone 14 Plus + os_family: iOS + browser_family: Unknown diff --git a/Tests/fixtures/smartphone-37.yml b/Tests/fixtures/smartphone-37.yml index ef73a8bd13..3766792efd 100644 --- a/Tests/fixtures/smartphone-37.yml +++ b/Tests/fixtures/smartphone-37.yml @@ -2053,3 +2053,137 @@ model: C1 Max os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; 23053RN02L Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/117.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 117.0.0.0 + engine: Blink + engine_version: 117.0.0.0 + device: + type: smartphone + brand: Xiaomi + model: Redmi 12 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; moto g14 Build/TLB33.78-61-2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/117.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 117.0.0.0 + engine: Blink + engine_version: 117.0.0.0 + device: + type: smartphone + brand: Motorola + model: Moto G14 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; SM-M546B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/116.0.0.0 Mobile Safari/537.36 Instagram 300.0.0.29.110 Android (33/13; 450dpi; 1080x2173; samsung; SM-M546B; m54x; s5e8835; pt_BR; 515103460) + os: + name: Android + version: "13" + platform: "" + client: + type: mobile app + name: Instagram App + version: 300.0.0.29.110 + device: + type: smartphone + brand: Samsung + model: Galaxy M54 5G + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 13; SM-A346M Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/116.0.0.0 Mobile Safari/537.36 Instagram 301.0.0.33.110 Android (33/13; 450dpi; 1080x2130; samsung; SM-A346M; a34x; mt6877; pt_BR; 517900830) + os: + name: Android + version: "13" + platform: "" + client: + type: mobile app + name: Instagram App + version: 301.0.0.33.110 + device: + type: smartphone + brand: Samsung + model: Galaxy A34 5G + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 13; SM-A145M Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/116.0.0.0 Mobile Safari/537.36 Instagram 300.0.0.29.110 Android (33/13; 450dpi; 1080x2209; samsung; SM-A145M; a14; s5e3830; pt_BR; 515103471) + os: + name: Android + version: "13" + platform: "" + client: + type: mobile app + name: Instagram App + version: 300.0.0.29.110 + device: + type: smartphone + brand: Samsung + model: Galaxy A14 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 10; SM-J600GT Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/116.0.0.0 Mobile Safari/537.36 Instagram 298.0.0.31.110 Android (29/10; 320dpi; 720x1384; samsung; SM-J600GT; j6lte; samsungexynos7870; pt_BR; 510206622) + os: + name: Android + version: "10" + platform: "" + client: + type: mobile app + name: Instagram App + version: 298.0.0.31.110 + device: + type: smartphone + brand: Samsung + model: Galaxy J6 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; VX4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: 8.1.0 + platform: "" + client: + type: browser + name: Chrome Mobile + version: 113.0.0.0 + engine: Blink + engine_version: 113.0.0.0 + device: + type: smartphone + brand: Vargo + model: VX4 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; K700 Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/110.0.5481.65 Mobile Safari/537.36 Instagram 269.0.0.18.75 Android (29/10; 320dpi; 720x1446; SPURT; K700; SPURT_K700; mt6762; ar_YE; 444561807) + os: + name: Android + version: "10" + platform: "" + client: + type: mobile app + name: Instagram App + version: 269.0.0.18.75 + device: + type: smartphone + brand: SPURT + model: K700 + os_family: Android + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 24e17bd9e0..59bf7fe5b6 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -13914,6 +13914,14 @@ Lexibook: - regex: '(MFC[0-9]{3}[a-z]{2,})' model: '$1' +# Vargo or Ivargo +Vargo: + regex: 'Vargo[; _]|(?:V210101|Android 8(?:[\d.]*);(?: [\w-]+;)? VX4)(?:[);/ ]|$)' + device: 'smartphone' + models: + - regex: '(V210101|VX4)(?:[);/ ]|$)' + model: '$1' + # LG or LGE (lg.com) LG: regex: '(?