Files
goyomi/sources/en/mangafoxfun/mangafoxfun.go
T
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

18 lines
316 B
Go

package mangafoxfun
import (
"goyomi/internal/registry"
base "goyomi/sources/base/mangahub"
)
func New() *base.Source {
return base.New(base.Config{
Name: "MangaFox.fun",
BaseURL: "https://mangafox.fun",
Lang: "en",
MangaSource: "mf01",
})
}
func init() { registry.Register(New()) }