1
0
forked from lolcat/4get

added brave image+video support

This commit is contained in:
2023-08-08 03:09:47 -04:00
parent 7c771c82c8
commit 4559857380
63 changed files with 786 additions and 307 deletions

View File

@@ -909,6 +909,23 @@ class mojeek{
$a = $a[0];
$date =
explode(
" - ",
$this->fuckhtml
->getTextContent(
$this->fuckhtml
->getElementsByTagName(
"span"
)[0]
)
);
$date =
strtotime(
$date[count($date) - 1]
);
$out["news"][] = [
"title" =>
html_entity_decode(
@@ -918,20 +935,7 @@ class mojeek{
)
),
"description" => null,
"date" =>
strtotime(
explode(
" - ",
$this->fuckhtml
->getTextContent(
$this->fuckhtml
->getElementsByTagName(
"span"
)[0]
),
2
)[1]
),
"date" => $date,
"thumb" => [
"url" => null,
"ratio" => null