diff --git a/Parser/Client/Browser.php b/Parser/Client/Browser.php index ebe47c5646..ce76f5f950 100644 --- a/Parser/Client/Browser.php +++ b/Parser/Client/Browser.php @@ -414,6 +414,7 @@ class Browser extends AbstractClientParser 'N2' => 'Norton Private Browser', 'NX' => 'Nox Browser', 'N1' => 'NOMone VR Browser', + 'N6' => 'NOOK Browser', 'NE' => 'NetSurf', 'NF' => 'NetFront', 'NL' => 'NetFront Life', @@ -761,7 +762,7 @@ class Browser extends AbstractClientParser 'H5', 'V3', 'G2', 'BG', 'OL', 'II', 'TL', 'M6', 'Y3', 'M7', 'GN', 'D3', 'IG', 'HW', '4O', 'OU', '5P', 'KE', '5A', 'TT', '6P', 'G3', '7P', 'VU', 'F8', 'L4', 'DK', - 'DP', 'KL', 'K4', + 'DP', 'KL', 'K4', 'N6', ]; /** diff --git a/Tests/Parser/Client/fixtures/browser.yml b/Tests/Parser/Client/fixtures/browser.yml index 63a011f265..df5ded1eab 100644 --- a/Tests/Parser/Client/fixtures/browser.yml +++ b/Tests/Parser/Client/fixtures/browser.yml @@ -9406,3 +9406,12 @@ engine: "" engine_version: "" family: "" +- + user_agent: nook browser/1.0 + client: + type: browser + name: NOOK Browser + version: "1.0" + engine: "" + engine_version: "" + family: "" diff --git a/regexes/client/browsers.yml b/regexes/client/browsers.yml index d8b3175b79..7fc5468028 100644 --- a/regexes/client/browsers.yml +++ b/regexes/client/browsers.yml @@ -5,6 +5,11 @@ # @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later ############### +# NOOK Browser +- regex: 'nook browser(?:/(\d+[\.\d]+))?' + name: 'NOOK Browser' + version: '$1' + # Arachne (https://www.glennmcc.org/) - regex: 'xChaos_Arachne/5\.(\d+\.[\.\d]+)' name: 'Arachne'