feat: port 8 Madara sources
Passing (7): manhuanext, manhwa68, manhuaus, shibamanga, toonizy, ksgroupscans, mangaclash Site issue (1): gingertoon — httpcloak fingerprint detected by site, returns empty manga list vs FS returns real content
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package gingertoon
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "GingerToon",
|
||||
BaseURL: "https://gingertoon.com",
|
||||
Lang: "en",
|
||||
UseNewChapterEndpoint: true,
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package gingertoon
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "GingerToon", "en") }
|
||||
@@ -0,0 +1,17 @@
|
||||
package ksgroupscans
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "KSGroupScans",
|
||||
BaseURL: "https://ksgroupscans.com",
|
||||
Lang: "en",
|
||||
UseNewChapterEndpoint: true,
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package ksgroupscans
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "KSGroupScans", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package mangaclash
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "MangaClash",
|
||||
BaseURL: "https://mangaclash.com",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package mangaclash
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "MangaClash", "en") }
|
||||
@@ -0,0 +1,17 @@
|
||||
package manhuanext
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Manhuanext",
|
||||
BaseURL: "https://manhuanext.com",
|
||||
Lang: "en",
|
||||
UseNewChapterEndpoint: true,
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package manhuanext
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Manhuanext", "en") }
|
||||
@@ -0,0 +1,17 @@
|
||||
package manhuaus
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "ManhuaUS",
|
||||
BaseURL: "https://manhuaus.com",
|
||||
Lang: "en",
|
||||
UseNewChapterEndpoint: true,
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package manhuaus
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "ManhuaUS", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package manhwa68
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Manhwa68",
|
||||
BaseURL: "https://manhwa68.com",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package manhwa68
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Manhwa68", "en") }
|
||||
@@ -0,0 +1,17 @@
|
||||
package shibamanga
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "ShibaManga",
|
||||
BaseURL: "https://shibamanga.com",
|
||||
Lang: "en",
|
||||
UseNewChapterEndpoint: true,
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package shibamanga
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "ShibaManga", "en") }
|
||||
@@ -0,0 +1,17 @@
|
||||
package toonizy
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Toonizy",
|
||||
BaseURL: "https://toonizy.com",
|
||||
Lang: "en",
|
||||
UseNewChapterEndpoint: true,
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package toonizy
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Toonizy", "en") }
|
||||
Reference in New Issue
Block a user