now scraping image resolutions on brave

This commit is contained in:
2025-09-10 01:09:48 -04:00
parent 1cfeabeb7f
commit 1b6182bc3c

View File

@@ -352,7 +352,6 @@ class brave{
$html = fread($handle, filesize("scraper/brave.html")); $html = fread($handle, filesize("scraper/brave.html"));
fclose($handle);*/ fclose($handle);*/
try{ try{
$html = $html =
$this->get( $this->get(
@@ -1290,13 +1289,13 @@ class brave{
"source" => [ "source" => [
[ [
"url" => $result["properties"]["url"], "url" => $result["properties"]["url"],
"width" => null, "width" => (int)$result["properties"]["width"],
"height" => null "height" => (int)$result["properties"]["height"]
], ],
[ [
"url" => $result["thumbnail"]["src"], "url" => $result["thumbnail"]["src"],
"width" => null, "width" => (int)$result["thumbnail"]["width"],
"height" => null "height" => (int)$result["thumbnail"]["height"]
] ]
], ],
"url" => $result["url"] "url" => $result["url"]