removed logging + improved dynamic result fetching

This commit is contained in:
partisan 2024-06-15 23:53:03 +02:00
parent 21c8f549f0
commit a138928d63
6 changed files with 28 additions and 29 deletions

View file

@ -2,7 +2,6 @@ package main
import (
"fmt"
"log"
"net/http"
"net/url"
"strings"
@ -48,9 +47,6 @@ func PerformDuckDuckGoTextSearch(query, safe, lang string, page int) ([]TextSear
Description: strings.TrimSpace(description),
}
results = append(results, result)
if debugMode {
log.Printf("Processed DuckDuckGo result: %+v\n", result)
}
}
}
}