diff --git a/data/config.php b/data/config.php index 5c704ae..efae706 100644 --- a/data/config.php +++ b/data/config.php @@ -119,7 +119,7 @@ class config{ // Default user agent to use for scraper requests. Sometimes ignored to get specific webpages // Changing this might break things. - const USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"; + const USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0"; // Proxy pool assignments for each scraper // false = Use server's raw IP @@ -129,6 +129,7 @@ class config{ const PROXY_BRAVE = false; const PROXY_FB = false; // facebook const PROXY_GOOGLE = false; + const PROXY_GOOGLE_CSE = false; const PROXY_STARTPAGE = false; const PROXY_QWANT = false; const PROXY_GHOSTERY = false; @@ -157,6 +158,9 @@ class config{ // Scraper-specific parameters // + // GOOGLE CSE + const GOOGLE_CX_ENDPOINT = "d4e68b99b876541f0"; + // MARGINALIA // Use "null" to default out to HTML scraping OR specify a string to // use the API (Eg: "public"). API has less filters. diff --git a/settings.php b/settings.php index 8030035..6bd6c0f 100644 --- a/settings.php +++ b/settings.php @@ -133,6 +133,10 @@ $settings = [ "value" => "google", "text" => "Google" ], + [ + "value" => "google_cse", + "text" => "Google CSE" + ], [ "value" => "startpage", "text" => "Startpage" @@ -203,6 +207,10 @@ $settings = [ "value" => "google", "text" => "Google" ], + [ + "value" => "google_cse", + "text" => "Google CSE" + ], [ "value" => "startpage", "text" => "Startpage"