Commit Graph

3 Commits

Author SHA1 Message Date
achmad dd792d4370 feat: add source tests for all wrapper sources 2026-05-14 09:08:06 +07:00
achmad 97d621d7f1 fix: correct mangahub base and all wrapper sources
- Fix GraphQL x param: was "POPULAR"/"LATEST", must be per-site source ID
  (e.g. "m01"); order type moved to separate mod param
- Add mhub_access cookie acquisition (x-mhub-access header required on all
  API calls); cached 10 min, retried with ?reloadKey=1 on failure
- Fix image URLs: construct as imgx.mghcdn.com/{p}{image} from pages JSON
- Fix thumbnail URLs: add thumb.mghcdn.com/ CDN prefix
- Fix hasNext: use len(rows)==30 instead of non-existent count field
- Fix chapter URL format: /{slug}/chapter-{num} matching Kotlin
- Fix page URL parsing to match new chapter URL format
- Add artist and alternativeTitle fields to manga details
- Fix status parsing: "ongoing"/"completed" string values
- Switch from parameterized GQL variables to direct string interpolation
- Add MangaSource field to Config; update all 11 wrapper sources with
  their correct per-site source IDs
2026-05-13 23:25:32 +07:00
achmad 7fe2c48df7 feat: implement phase 4 batch — 11 en/ MangaHub wrapper sources
mangahubio, mangahereonl, mangakakalotfun, mangafoxfun, manganel,
mangaonlinefun, mangapandaonl, mangareadersite, mangatoday, onemangaco,
onemangainfo — all using the existing mangahub GraphQL base.
2026-05-13 23:20:27 +07:00