diff options
author | sgiehl <stefan@piwik.org> | 2014-05-20 23:35:10 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-05-20 23:35:10 +0400 |
commit | 64b6b21ef891808c890d0ebdf6051f47e50fc1ca (patch) | |
tree | d5f84f5bf51078db2f9a0ca3c3171f04e1317f0d | |
parent | 5fee2358445619b135b60d6d0193e10cce4d2dae (diff) |
refs #5114 added detection for so-net.ne.jp
-rw-r--r-- | core/DataFiles/SearchEngines.php | 3 | ||||
-rw-r--r-- | tests/resources/extractSearchEngineInformationFromUrlTests.yml | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/core/DataFiles/SearchEngines.php b/core/DataFiles/SearchEngines.php index a43cc9cbea..52699c6b4e 100644 --- a/core/DataFiles/SearchEngines.php +++ b/core/DataFiles/SearchEngines.php @@ -809,6 +809,9 @@ if (!isset($GLOBALS['Piwik_SearchEngines'])) { // Snap.do 'search.snap.do' => array('Snap.do', 'q', '?q={k}'), + // So-net + 'www.so-net.ne.jp' => array('So-net', 'query', 'search/web/?query=k{}'), + // Sogou 'www.sogou.com' => array('Sogou', 'query', 'web?query={k}', 'gb2312'), diff --git a/tests/resources/extractSearchEngineInformationFromUrlTests.yml b/tests/resources/extractSearchEngineInformationFromUrlTests.yml index 55aaaf738b..6978ee6d36 100644 --- a/tests/resources/extractSearchEngineInformationFromUrlTests.yml +++ b/tests/resources/extractSearchEngineInformationFromUrlTests.yml @@ -422,6 +422,10 @@ engine: 'Biglobe Images' keywords: 'サーリンク(' +- url: 'http://www.so-net.ne.jp/search/web/?query=piwik&from=gp&kz=&suggest=gp_suggest_on' + engine: 'So-net' + keywords: 'piwik' + - url: 'http://search.smartaddressbar.com/web.php?s=habillage+aikatsu' engine: 'SmartAddressbar' keywords: 'habillage aikatsu' |