mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2025-02-05 00:28:45 -05:00
marginalia hotfix
This commit is contained in:
parent
b892f90b13
commit
631aa58565
1 changed files with 3 additions and 3 deletions
|
@ -227,7 +227,7 @@ class marginalia{
|
||||||
$json =
|
$json =
|
||||||
$this->get(
|
$this->get(
|
||||||
$this->backend->get_ip(), // no nextpage
|
$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
|
"count" => 20
|
||||||
]
|
]
|
||||||
|
@ -279,7 +279,7 @@ class marginalia{
|
||||||
$html =
|
$html =
|
||||||
$this->get(
|
$this->get(
|
||||||
$proxy,
|
$proxy,
|
||||||
"https://search.marginalia.nu/search?" . $params
|
"https://old-search.marginalia.nu/search?" . $params
|
||||||
);
|
);
|
||||||
}catch(Exception $error){
|
}catch(Exception $error){
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ class marginalia{
|
||||||
$html =
|
$html =
|
||||||
$this->get(
|
$this->get(
|
||||||
$proxy,
|
$proxy,
|
||||||
"https://search.marginalia.nu/search",
|
"https://old-search.marginalia.nu/search",
|
||||||
$params
|
$params
|
||||||
);
|
);
|
||||||
}catch(Exception $error){
|
}catch(Exception $error){
|
||||||
|
|
Loading…
Add table
Reference in a new issue