add alternate duckduckgo ua
This commit is contained in:
parent
42b38ae3d8
commit
d586220df2
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue