add MJ12bot user agent

add toutiao lang string
This commit is contained in:
Azareal 2020-03-07 20:46:27 +10:00
parent a80c52861b
commit 998cbbfd50
3 changed files with 12 additions and 4 deletions

View File

@ -609,8 +609,9 @@ var agentMapEnum = map[string]int{
"suspicious": 35, "suspicious": 35,
"semrush": 36, "semrush": 36,
"dotbot": 37, "dotbot": 37,
"aspiegel": 38, "majestic": 38,
"zgrab": 39, "aspiegel": 39,
"zgrab": 40,
} }
var reverseAgentMapEnum = map[int]string{ var reverseAgentMapEnum = map[int]string{
0: "unknown", 0: "unknown",
@ -651,8 +652,9 @@ var reverseAgentMapEnum = map[int]string{
35: "suspicious", 35: "suspicious",
36: "semrush", 36: "semrush",
37: "dotbot", 37: "dotbot",
38: "aspiegel", 38: "majestic",
39: "zgrab", 39: "aspiegel",
40: "zgrab",
} }
var markToAgent = map[string]string{ var markToAgent = map[string]string{
"OPR": "opera", "OPR": "opera",
@ -690,6 +692,7 @@ var markToAgent = map[string]string{
"ia_archiver": "alexa", "ia_archiver": "alexa",
"SemrushBot": "semrush", "SemrushBot": "semrush",
"DotBot": "dotbot", "DotBot": "dotbot",
"MJ12bot": "majestic",
"AspiegelBot": "aspiegel", "AspiegelBot": "aspiegel",
"zgrab": "zgrab", "zgrab": "zgrab",
} }

View File

@ -203,6 +203,7 @@
"slurp":"Yahoo! Slurp", "slurp":"Yahoo! Slurp",
"exabot":"Exabot", "exabot":"Exabot",
"sogou":"Sogou", "sogou":"Sogou",
"toutiao":"Toutiao",
"baidu":"Baidu", "baidu":"Baidu",
"duckduckgo":"DuckDuckBot", "duckduckgo":"DuckDuckBot",
"seznambot":"SeznamBot", "seznambot":"SeznamBot",
@ -220,6 +221,7 @@
"semrush":"SemrushBot", "semrush":"SemrushBot",
"dotbot":"DotBot", "dotbot":"DotBot",
"majestic":"MJ12bot",
"aspiegel":"AspiegelBot", "aspiegel":"AspiegelBot",
"zgrab":"Zgrab App Scanner", "zgrab":"Zgrab App Scanner",
"suspicious":"Suspicious", "suspicious":"Suspicious",

View File

@ -268,6 +268,7 @@ func main() {
"suspicious", "suspicious",
"semrush", "semrush",
"dotbot", "dotbot",
"majestic",
"aspiegel", "aspiegel",
"zgrab", "zgrab",
} }
@ -315,6 +316,7 @@ func main() {
"SemrushBot", "SemrushBot",
"DotBot", "DotBot",
"MJ12bot",
"AspiegelBot", "AspiegelBot",
"zgrab", "zgrab",
} }
@ -357,6 +359,7 @@ func main() {
"SemrushBot": "semrush", "SemrushBot": "semrush",
"DotBot": "dotbot", "DotBot": "dotbot",
"MJ12bot":"majestic",
"AspiegelBot": "aspiegel", "AspiegelBot": "aspiegel",
"zgrab": "zgrab", "zgrab": "zgrab",
} }