add alternate duckduckgo ua
This commit is contained in:
parent
42b38ae3d8
commit
d586220df2
|
@ -679,6 +679,7 @@ var markToAgent = map[string]string{
|
||||||
"Googlebot": "googlebot",
|
"Googlebot": "googlebot",
|
||||||
"yandex": "yandex",
|
"yandex": "yandex",
|
||||||
"DuckDuckBot": "duckduckgo",
|
"DuckDuckBot": "duckduckgo",
|
||||||
|
"DuckDuckGo": "duckduckgo",
|
||||||
"Baiduspider": "baidu",
|
"Baiduspider": "baidu",
|
||||||
"Sogou": "sogou",
|
"Sogou": "sogou",
|
||||||
"ToutiaoSpider": "toutiao",
|
"ToutiaoSpider": "toutiao",
|
||||||
|
@ -724,6 +725,7 @@ var markToID = map[string]int{
|
||||||
"Googlebot": 12,
|
"Googlebot": 12,
|
||||||
"yandex": 13,
|
"yandex": 13,
|
||||||
"DuckDuckBot": 21,
|
"DuckDuckBot": 21,
|
||||||
|
"DuckDuckGo": 21,
|
||||||
"Baiduspider": 17,
|
"Baiduspider": 17,
|
||||||
"Sogou": 18,
|
"Sogou": 18,
|
||||||
"ToutiaoSpider": 19,
|
"ToutiaoSpider": 19,
|
||||||
|
|
|
@ -299,6 +299,7 @@ func main() {
|
||||||
"Googlebot",
|
"Googlebot",
|
||||||
"yandex",
|
"yandex",
|
||||||
"DuckDuckBot",
|
"DuckDuckBot",
|
||||||
|
"DuckDuckGo",
|
||||||
"Baiduspider",
|
"Baiduspider",
|
||||||
"Sogou",
|
"Sogou",
|
||||||
"ToutiaoSpider",
|
"ToutiaoSpider",
|
||||||
|
@ -347,6 +348,7 @@ func main() {
|
||||||
"Googlebot": "googlebot",
|
"Googlebot": "googlebot",
|
||||||
"yandex": "yandex", // from the URL
|
"yandex": "yandex", // from the URL
|
||||||
"DuckDuckBot": "duckduckgo",
|
"DuckDuckBot": "duckduckgo",
|
||||||
|
"DuckDuckGo":"duckduckgo",
|
||||||
"Baiduspider": "baidu",
|
"Baiduspider": "baidu",
|
||||||
"Sogou": "sogou",
|
"Sogou": "sogou",
|
||||||
"ToutiaoSpider": "toutiao",
|
"ToutiaoSpider": "toutiao",
|
||||||
|
|
Loading…
Reference in New Issue