mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
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()) {
|
||||
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")))
|
||||
document = Jsoup.parse(extraResponse.text)
|
||||
returnValue.addAll(parseSearchPage(document))
|
||||
|
|
Loading…
Reference in a new issue