From 631aa585654efbe91d850a0260b69a82924db6d1 Mon Sep 17 00:00:00 2001 From: lolcat Date: Tue, 7 Jan 2025 21:12:07 -0500 Subject: [PATCH] marginalia hotfix --- scraper/marginalia.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scraper/marginalia.php b/scraper/marginalia.php index 2169fbc..b9d555a 100644 --- a/scraper/marginalia.php +++ b/scraper/marginalia.php @@ -227,7 +227,7 @@ class marginalia{ $json = $this->get( $this->backend->get_ip(), // no nextpage - "https://api.marginalia.nu/" . config::MARGINALIA_API_KEY . "/search/" . urlencode($search), + "https://api.marginalia-search.com/" . config::MARGINALIA_API_KEY . "/search/" . urlencode($search), [ "count" => 20 ] @@ -279,7 +279,7 @@ class marginalia{ $html = $this->get( $proxy, - "https://search.marginalia.nu/search?" . $params + "https://old-search.marginalia.nu/search?" . $params ); }catch(Exception $error){ @@ -308,7 +308,7 @@ class marginalia{ $html = $this->get( $proxy, - "https://search.marginalia.nu/search", + "https://old-search.marginalia.nu/search", $params ); }catch(Exception $error){