fix brave being a little shit about pagination

This commit is contained in:
2026-08-05 01:48:10 -04:00
parent fdd1b4ab40
commit 1aa6278853

View File

@@ -388,14 +388,14 @@ class brave{
*/
$nextpage =
$this->fuckhtml
->getElementById(
->getElementsByClassName(
"pagination",
"div"
);
if($nextpage){
if(count($nextpage) !== 0){
$this->fuckhtml->load($nextpage);
$this->fuckhtml->load($nextpage[0]);
$nextpage =
$this->fuckhtml