Add ManGeek#17620
Open
duasmisha-hub wants to merge 4 commits into
Open
Conversation
duasmisha-hub
marked this pull request as ready for review
July 15, 2026 07:17
duasmisha-hub
force-pushed
the
codex/add-mangeek
branch
from
July 15, 2026 07:22
ac655cb to
19672a3
Compare
| import java.util.Locale | ||
|
|
||
| @Source | ||
| abstract class ManGeek : HttpSource() { |
Contributor
There was a problem hiding this comment.
please implement KeiSource instead, you also need to set libVersion in build.gradle.kts to 1.6
AwkwardPeak7
requested changes
Jul 17, 2026
|
|
||
| internal fun getFilters() = FilterList(TagsFilter()) | ||
|
|
||
| private val TAGS = listOf( |
Contributor
There was a problem hiding this comment.
if possible, consider fetching filters/tags from site (see supportsFilterFetching)
| } | ||
|
|
||
| override suspend fun getSearchMangaList(page: Int, query: String, filters: FilterList): MangasPage { | ||
| val requestedPage = page.coerceAtLeast(1) |
Contributor
There was a problem hiding this comment.
page will always start from 1, never less than that
Comment on lines
+72
to
+73
| activeDiscoverTags = includedTags | ||
| discoveredIds.clear() |
Contributor
There was a problem hiding this comment.
what? just return everything in one go
Comment on lines
+112
to
+113
| val start = (page - 1) * SEARCH_PAGE_SIZE | ||
| val pageMangas = mangas.drop(start).take(SEARCH_PAGE_SIZE) |
|
|
||
| return SMangaUpdate( | ||
| manga = dto.toSManga(details = true), | ||
| chapters = if (fetchChapters) { |
Contributor
There was a problem hiding this comment.
you always have updated manga/chapters from the dto, so return everything unconditionally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the ManGeek source using the API flow from the official app, with the complete home catalog, latest updates, search, supported tag filters, manga details, chapters, primary/mirror pages, and real discover pagination.
No related issue was found.
Validation performed:
:src:pt:mangeek:spotlessCheck:src:pt:mangeek:assembleDebug:src:pt:mangeek:assembleReleaseChecklist:
versionCodevalue inbuild.gradle.ktsbaseVersionCodeinbuild.gradle.kts(if updated multisrc theme code)contentWarningconfiguration inbuild.gradle.ktsappropriatelyidif a source's name or language were changedweb_hi_res_512.pngwhen adding a new extension