add support for cucked urls

This commit is contained in:
lolcat committed 2026-11-30 17:19:39 -05:00
1 parent e03c582f74
commit ffb1fc00f3
8 files changed
+223 -318

No files matched your search

+8 -1
View File
@@ -62,7 +62,14 @@ class google{
return $data;
}
function resolve($id){
function resolve($id, $signature){
$sig_status = $this->backend->hmac_verify(4, "google,{$id}", $signature);
if($sig_status["valid"] === false){
throw new Exception("[Signature] " . $sig_status["reason"]);
}
$html =
$this->get(