aboutsummaryrefslogtreecommitdiff
path: root/src/Config.h
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-17 13:51:12 -0400
committerfrosty <gabriel@bwaaa.monster>2026-03-17 13:51:12 -0400
commitc7b95d05715a45c7790aa8a7e4b0b61bac2e4208 (patch)
treeb0b511b4cc6610949cdde5a6a220724a31c617fd /src/Config.h
parent8c6632502ff992e80051910451421c55894ed9d8 (diff)
downloadomnisearch-c7b95d05715a45c7790aa8a7e4b0b61bac2e4208.tar.gz
fix: refactored scraping components
Diffstat (limited to 'src/Config.h')
-rw-r--r--src/Config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Config.h b/src/Config.h
index 24dafe6..e0e242c 100644
--- a/src/Config.h
+++ b/src/Config.h
@@ -23,6 +23,13 @@
#define INFOBOX_FIELD_COUNT 4
#define MAX_RESULTS_PER_ENGINE 10
+#define CURL_TIMEOUT_SECS 15L
+#define CURL_DNS_TIMEOUT_SECS 300L
+
+#define BING_IMAGE_URL "https://www.bing.com/images/search"
+#define IMAGE_RESULTS_PER_PAGE 32
+#define IMAGE_RESULT_FIELDS 4
+
typedef struct {
char host[256];
int port;