97d621d7f1
- 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
18 lines
322 B
Go
18 lines
322 B
Go
package mangapandaonl
|
|
|
|
import (
|
|
"goyomi/internal/registry"
|
|
base "goyomi/sources/base/mangahub"
|
|
)
|
|
|
|
func New() *base.Source {
|
|
return base.New(base.Config{
|
|
Name: "MangaPanda.onl",
|
|
BaseURL: "https://mangapanda.onl",
|
|
Lang: "en",
|
|
MangaSource: "mr02",
|
|
})
|
|
}
|
|
|
|
func init() { registry.Register(New()) }
|