-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ru-Acomics] Fix parsing popular and search page #6611
base: main
Are you sure you want to change the base?
Conversation
override fun popularMangaNextPageSelector(): String? { | ||
TODO("Not yet implemented") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either throw UnsupportedOperationException
on set to empty string
popularMangaFromElement(element) | ||
} | ||
|
||
return MangasPage(mangas, true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there not some end page? maybe check number of entries on page and end page would have less.
setUrlWithoutDomain(attr("href") + "/about") | ||
title = text() | ||
} | ||
} | ||
|
||
override fun popularMangaNextPageSelector() = "span.button:not(:has(a)) + span.button > a" | ||
override fun popularMangaNextPageSelector(): String? { | ||
TODO("Not yet implemented") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are looking for a.infinite-scroll
after the last div.infinite-scroll-content > section.serial-card
. That element only exists if there is more content to load. You can make it as advanced or basic as you want.
Checklist:
extVersionCode
value inbuild.gradle
for individual extensionsoverrideVersionCode
orbaseVersionCode
as needed for all multisrc extensionsisNsfw = true
flag inbuild.gradle
when appropriateid
if a source's name or language were changedweb_hi_res_512.png
when adding a new extensionCloses #6120