Skip to content

Conversation

@mozhaa
Copy link

@mozhaa mozhaa commented Oct 13, 2025

Fixes #8294

Added support for mangalib.me, it seems to work on my machine (also added some tests)

There's one thing I'm not sure how to implement: every chapter can have multiple translations available, but I don't think that I should return all of them from MangaExtractor.chapters(), because that way chapter numbering would break (--chapter-range 1-2 will return two translations of the first chapter). So, for now I've hard-coded picking 1st translation automatically (which actually mangalib does, if you simply open chapter without specifying translation). But this way there's no way, for example, to download 1-10 chapters of team B, if team A also translated them.

That said, if user tries to download specific chapter with specific translation (bid specified in query params in chapter url), then it will download correct translation.

So I'm not sure, if there's a better solution, but if you have it, please let me know

Also, I wasn't able to implement auth, which is required for nsfw content (it seems like there's always captcha required for username/password auth, so I wasn't really trying).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Site request] Mangalib

1 participant