brave pagination fix from upstream
All checks were successful
Build and publish the docker image / build (push) Successful in 21s
All checks were successful
Build and publish the docker image / build (push) Successful in 21s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
8e125c2eb5
commit
e9bbc0f307
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user