diff --git a/Parser/Client/Browser.php b/Parser/Client/Browser.php index 66e68884f1..c27af2984d 100644 --- a/Parser/Client/Browser.php +++ b/Parser/Client/Browser.php @@ -79,6 +79,7 @@ class Browser extends AbstractClientParser 'AN' => 'Android Browser', 'AE' => 'AOL Desktop', 'AD' => 'AOL Shield', + 'AP' => 'APUS Browser', 'AR' => 'Arora', 'AX' => 'Arctic Fox', 'AV' => 'Amiga Voyager', @@ -461,7 +462,7 @@ class Browser extends AbstractClientParser 'VG', 'VI', 'VM', 'WP', 'WH', 'XV', 'YJ', 'YN', 'FH', 'B1', 'BO', 'HB', 'PC', 'LA', 'LT', 'PD', 'HR', 'HU', 'HP', 'IO', 'TP', 'CJ', 'HQ', 'HI', 'NA', 'BW', 'YO', - 'DC', 'G8', 'DT', + 'DC', 'G8', 'DT', 'AP', ], 'Firefox' => [ 'AX', 'BI', 'BF', 'BH', 'BN', 'C0', 'CU', 'EI', 'F1', @@ -493,7 +494,7 @@ class Browser extends AbstractClientParser 'PE', 'QU', 'RE', 'S0', 'S7', 'SA', 'SB', 'SG', 'SK', 'ST', 'SU', 'T1', 'UH', 'UM', 'UT', 'VE', 'VV', 'WI', 'WP', 'YN', 'IO', 'IS', 'HQ', 'RW', 'HI', 'NA', 'BW', - 'YO', 'PK', 'MR', + 'YO', 'PK', 'MR', 'AP', ]; /** diff --git a/Tests/Parser/Client/fixtures/browser.yml b/Tests/Parser/Client/fixtures/browser.yml index 8405729d38..d3e89d57be 100644 --- a/Tests/Parser/Client/fixtures/browser.yml +++ b/Tests/Parser/Client/fixtures/browser.yml @@ -5100,5 +5100,17 @@ version: 2.1.0 engine: Blink engine_version: "" + family: Chrome headers: X-Requested-With: com.airfind.deltabrowser +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; moto e5 play Build/OPGS28.54-53-8-20; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/99.0.4844.58 Mobile Safari/537.36 + client: + type: browser + name: APUS Browser + version: "" + engine: Blink + engine_version: "" + family: Chrome + headers: + X-Requested-With: com.apusapps.browser diff --git a/regexes/client/hints/browsers.yml b/regexes/client/hints/browsers.yml index cfc93d50d7..6ce8b2979c 100644 --- a/regexes/client/hints/browsers.yml +++ b/regexes/client/hints/browsers.yml @@ -46,3 +46,4 @@ 'com.opera.gx': 'Opera GX' 'br.marcelo.monumentbrowser': 'Monument Browser' 'com.airfind.deltabrowser': 'Delta Browser' +'com.apusapps.browser': 'APUS Browser'