diff --git a/gen_router.go b/gen_router.go index d49747b9..534a6ff0 100644 --- a/gen_router.go +++ b/gen_router.go @@ -609,9 +609,10 @@ var agentMapEnum = map[string]int{ "suspicious": 35, "semrush": 36, "dotbot": 37, - "majestic": 38, - "aspiegel": 39, - "zgrab": 40, + "ahrefs": 38, + "majestic": 39, + "aspiegel": 40, + "zgrab": 41, } var reverseAgentMapEnum = map[int]string{ 0: "unknown", @@ -652,9 +653,10 @@ var reverseAgentMapEnum = map[int]string{ 35: "suspicious", 36: "semrush", 37: "dotbot", - 38: "majestic", - 39: "aspiegel", - 40: "zgrab", + 38: "ahrefs", + 39: "majestic", + 40: "aspiegel", + 41: "zgrab", } var markToAgent = map[string]string{ "OPR": "opera", @@ -692,6 +694,7 @@ var markToAgent = map[string]string{ "ia_archiver": "alexa", "SemrushBot": "semrush", "DotBot": "dotbot", + "AhrefsBot": "ahrefs", "MJ12bot": "majestic", "AspiegelBot": "aspiegel", "zgrab": "zgrab", diff --git a/langs/english.json b/langs/english.json index c53df4c0..d53d3ffd 100644 --- a/langs/english.json +++ b/langs/english.json @@ -221,6 +221,7 @@ "semrush":"SemrushBot", "dotbot":"DotBot", + "ahrefs":"Ahrefs", "majestic":"MJ12bot", "aspiegel":"AspiegelBot", "zgrab":"Zgrab App Scanner", diff --git a/router_gen/main.go b/router_gen/main.go index 49d0bc9b..3271f09b 100644 --- a/router_gen/main.go +++ b/router_gen/main.go @@ -268,6 +268,7 @@ func main() { "suspicious", "semrush", "dotbot", + "ahrefs", "majestic", "aspiegel", "zgrab", @@ -316,6 +317,7 @@ func main() { "SemrushBot", "DotBot", + "AhrefsBot", "MJ12bot", "AspiegelBot", "zgrab", @@ -359,7 +361,8 @@ func main() { "SemrushBot": "semrush", "DotBot": "dotbot", - "MJ12bot":"majestic", + "AhrefsBot": "ahrefs", + "MJ12bot": "majestic", "AspiegelBot": "aspiegel", "zgrab": "zgrab", }