Compare commits

...

2 Commits

Author SHA1 Message Date
lolcat 36b0c570aa Merge branch 'master' of https://git.lolcat.ca/lolcat/4get 2025-02-01 22:53:06 -05:00
lolcat 47a7a2a224 brave pagination fix 2025-02-01 22:51:44 -05:00
1 changed files with 46 additions and 31 deletions

View File

@ -403,7 +403,7 @@ class brave{
$nextpage =
$this->fuckhtml
->getElementsByClassName("btn", "a");
->getElementsByClassName("button", "a");
if(count($nextpage) !== 0){
@ -1777,7 +1777,21 @@ class brave{
$nextpage =
$this->fuckhtml
->getElementsByClassName("btn", "a");
->getElementById(
"pagination",
"div"
);
if($nextpage){
$this->fuckhtml->load($nextpage);
$nextpage =
$this->fuckhtml
->getElementsByClassName(
"button",
"a"
);
if(count($nextpage) !== 0){
@ -1815,6 +1829,7 @@ class brave{
);
}
}
}
return null;
}