forked from recloudstream/cloudstream
Update WcoProvider.kt
This commit is contained in:
parent
73adb9894d
commit
be714a9a26
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class WcoProvider : MainAPI() {
|
||||||
|
|
||||||
while (!document.select(".pagination").isEmpty()) {
|
while (!document.select(".pagination").isEmpty()) {
|
||||||
val link = document.select("a.page-link[rel=\"next\"]")
|
val link = document.select("a.page-link[rel=\"next\"]")
|
||||||
if (link != null && !link.isEmpty()) {
|
if (!link.isEmpty()) {
|
||||||
val extraResponse = khttp.get(fixUrl(link[0].attr("href")))
|
val extraResponse = khttp.get(fixUrl(link[0].attr("href")))
|
||||||
document = Jsoup.parse(extraResponse.text)
|
document = Jsoup.parse(extraResponse.text)
|
||||||
returnValue.addAll(parseSearchPage(document))
|
returnValue.addAll(parseSearchPage(document))
|
||||||
|
|
Loading…
Reference in a new issue