removed results loging + added logs for no results returned where missing + improved image fetching
This commit is contained in:
parent
a138928d63
commit
87ac6f05f9
5 changed files with 19 additions and 14 deletions
1
text.go
1
text.go
|
@ -105,6 +105,7 @@ func fetchTextResults(query, safe, lang string, page int) []TextSearchResult {
|
|||
results = append(results, result.(TextSearchResult))
|
||||
}
|
||||
|
||||
// If results are found, break out of the loop
|
||||
if len(results) > 0 {
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue