rough draft of more modular design

This commit is contained in:
Damian Bednarczyk
2023-11-30 16:05:14 -06:00
parent dbaf1029c5
commit 8862b7de8b
13 changed files with 147 additions and 111 deletions

View File

@@ -83,8 +83,7 @@ func main() {
}
if *randomGooglebot {
err := helpers.UpdateGooglebotIPs()
err := helpers.GlobalGoogleBot.UpdatePool()
if err != nil {
fmt.Println("error while retrieving list of Googlebot IPs: " + err.Error())
fmt.Println("defaulting to known trusted Googlebot identity")