dev comment google search
Test Workflow / test (push) Waiting to run

This commit is contained in:
vladp
2026-02-22 00:25:05 +07:00
parent f926de161d
commit 5d02e2e0f2
@@ -36,6 +36,8 @@ public class SearchImageService {
.writeTimeout(18, TimeUnit.SECONDS)
.readTimeout(18, TimeUnit.SECONDS)
.callTimeout(18, TimeUnit.SECONDS)
.followRedirects(true)
.followSslRedirects(true)
.retryOnConnectionFailure(true)
.build();
@@ -100,7 +102,7 @@ public class SearchImageService {
throw new IllegalStateException("SearchAPI key not configured");
}
HttpUrl url = HttpUrl.parse("https://searchapi.io/api/v1/search")
HttpUrl url = HttpUrl.parse("https://www.searchapi.io/api/v1/search")
.newBuilder()
.addQueryParameter("engine", engine)
.addQueryParameter("api_key", searchApiKey)