add alternate duckduckgo ua

This commit is contained in:
Azareal 2020-03-09 20:49:22 +10:00
parent 42b38ae3d8
commit d586220df2
2 changed files with 4 additions and 0 deletions

View File

@ -679,6 +679,7 @@ var markToAgent = map[string]string{
"Googlebot": "googlebot",
"yandex": "yandex",
"DuckDuckBot": "duckduckgo",
"DuckDuckGo": "duckduckgo",
"Baiduspider": "baidu",
"Sogou": "sogou",
"ToutiaoSpider": "toutiao",
@ -724,6 +725,7 @@ var markToID = map[string]int{
"Googlebot": 12,
"yandex": 13,
"DuckDuckBot": 21,
"DuckDuckGo": 21,
"Baiduspider": 17,
"Sogou": 18,
"ToutiaoSpider": 19,

View File

@ -299,6 +299,7 @@ func main() {
"Googlebot",
"yandex",
"DuckDuckBot",
"DuckDuckGo",
"Baiduspider",
"Sogou",
"ToutiaoSpider",
@ -347,6 +348,7 @@ func main() {
"Googlebot": "googlebot",
"yandex": "yandex", // from the URL
"DuckDuckBot": "duckduckgo",
"DuckDuckGo":"duckduckgo",
"Baiduspider": "baidu",
"Sogou": "sogou",
"ToutiaoSpider": "toutiao",