diff --git a/Parser/Device/AbstractDeviceParser.php b/Parser/Device/AbstractDeviceParser.php index 703e7b27e1..4866dc6c62 100644 --- a/Parser/Device/AbstractDeviceParser.php +++ b/Parser/Device/AbstractDeviceParser.php @@ -1196,6 +1196,7 @@ abstract class AbstractDeviceParser extends AbstractParser 'TE' => 'Telit', '65' => 'Telia', 'PW' => 'Telpo', + 'TER' => 'Teracube', 'TD' => 'Tesco', 'TA' => 'Tesla', '9T' => 'Tetratab', diff --git a/Tests/fixtures/smartphone-7.yml b/Tests/fixtures/smartphone-7.yml index a0f76260da..b6042d7a98 100644 --- a/Tests/fixtures/smartphone-7.yml +++ b/Tests/fixtures/smartphone-7.yml @@ -9207,3 +9207,39 @@ model: JP5s os_family: Android browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; Teracube 2e) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 99.0.4844.88 + engine: Blink + engine_version: 99.0.4844.88 + device: + type: smartphone + brand: Teracube + model: 2e + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; Teracube One) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Mobile Safari/537.36 + os: + name: Android + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 99.0.4844.73 + engine: Blink + engine_version: 99.0.4844.73 + device: + type: smartphone + brand: Teracube + model: One + os_family: Android + browser_family: Chrome diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index ed2f1d54e6..b434b0fbb1 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -20347,6 +20347,14 @@ Techwood: device: 'tv' model: '' +# Teracube (https://myteracube.com/) +Teracube: + regex: 'Teracube' + device: 'smartphone' + models: + - regex: 'Teracube (2e|One)(?:[);/ ]|$)' + model: '$1' + # Tesco Tesco: regex: 'Hudl (?:[^/;]+)(?: Build|[;)])|W032i-C3(?:[);/ ]|$)'