feat: append content=true parameter to web search API URL in do_web_search function

This commit is contained in:
retoor 2026-02-10 03:34:07 +00:00
parent 6574db64e1
commit 866647d5ac

View File

@ -132,7 +132,7 @@ static char *do_web_search(const char *query) {
if (!q_encoded) return strdup("Failed to encode query.");
char url[4096];
snprintf(url, sizeof(url), "https://rsearch.app.molodetz.nl/search?query=%s", q_encoded);
snprintf(url, sizeof(url), "https://rsearch.app.molodetz.nl/search?query=%s&content=true", q_encoded);
curl_free(q_encoded);
http_client_handle client = http_client_create(NULL);