forked from lolcat/4get
brave pagination fix
This commit is contained in:
parent
f9f3c919d6
commit
47a7a2a224
|
@ -403,7 +403,7 @@ class brave{
|
||||||
|
|
||||||
$nextpage =
|
$nextpage =
|
||||||
$this->fuckhtml
|
$this->fuckhtml
|
||||||
->getElementsByClassName("btn", "a");
|
->getElementsByClassName("button", "a");
|
||||||
|
|
||||||
if(count($nextpage) !== 0){
|
if(count($nextpage) !== 0){
|
||||||
|
|
||||||
|
@ -1777,7 +1777,21 @@ class brave{
|
||||||
|
|
||||||
$nextpage =
|
$nextpage =
|
||||||
$this->fuckhtml
|
$this->fuckhtml
|
||||||
->getElementsByClassName("btn", "a");
|
->getElementById(
|
||||||
|
"pagination",
|
||||||
|
"div"
|
||||||
|
);
|
||||||
|
|
||||||
|
if($nextpage){
|
||||||
|
|
||||||
|
$this->fuckhtml->load($nextpage);
|
||||||
|
|
||||||
|
$nextpage =
|
||||||
|
$this->fuckhtml
|
||||||
|
->getElementsByClassName(
|
||||||
|
"button",
|
||||||
|
"a"
|
||||||
|
);
|
||||||
|
|
||||||
if(count($nextpage) !== 0){
|
if(count($nextpage) !== 0){
|
||||||
|
|
||||||
|
@ -1815,6 +1829,7 @@ class brave{
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue