mirror of
https://git.bakhai.co.in/FbIN/4Get.git
synced 2025-11-06 12:31:32 +05:30
parent
dff8cf8ec5
commit
ffd31f28ac
1 changed files with 5 additions and 6 deletions
|
|
@ -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"]
|
||||||
|
|
@ -1857,4 +1856,4 @@ class brave{
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue