-
Notifications
You must be signed in to change notification settings - Fork 403
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
Added source multimanga #3631
base: main
Are you sure you want to change the base?
Added source multimanga #3631
Conversation
src/ru/multimanga/src/eu/kanade/tachiyomi/extension/ru/multimanga/MultiManga.kt
Show resolved
Hide resolved
override fun popularMangaRequest(page: Int): Request { | ||
return GET("$baseUrl", headers) | ||
} | ||
|
||
override fun latestUpdatesRequest(page: Int): Request { | ||
return GET("$baseUrl", headers) | ||
} |
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.
there is only like 5 items you are selecting from the front page for popular, it would be better to set supportslatest
to false and return the whole page through popular alone
also, add the next page to the request, because currently you are requesting the same page over and over again
src/ru/multimanga/src/eu/kanade/tachiyomi/extension/ru/multimanga/MultiManga.kt
Show resolved
Hide resolved
src/ru/multimanga/src/eu/kanade/tachiyomi/extension/ru/multimanga/MultiManga.kt
Show resolved
Hide resolved
src/ru/multimanga/src/eu/kanade/tachiyomi/extension/ru/multimanga/MultiManga.kt
Show resolved
Hide resolved
// chapter.name = urlElement.text() | ||
|
||
val chapter = SChapter.create() | ||
val loopbackUrl = urlElement.attr("href").removeRange(urlElement.attr("href").length - 3, urlElement.attr("href").length) |
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.
response.request.url.toString()
will give you the current url.
also for future reference, check out StringKt documentation
it have methods like substringBeforeLast
src/ru/multimanga/src/eu/kanade/tachiyomi/extension/ru/multimanga/MultiManga.kt
Show resolved
Hide resolved
return GET(page.imageUrl!!, newHeaders) | ||
} | ||
|
||
private class Genre(name: String, val id: String = name) : Filter.TriState(name) |
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.
use CheckBox filter. since you are not using exclude and include states
Add new line as requested Co-authored-by: AwkwardPeak7 <[email protected]>
As requested Co-authored-by: AwkwardPeak7 <[email protected]>
#3622 (previous pull) (I moved the branch so the pull request closed...)
closes #3498
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 extension