feat: port 10 sources from diverse bases
Passing (9): deathtollscans (FoolSlide), mangatellers (FoolSlide), eighteenporncomic (Manga18), manga18club (Manga18), manhuaplusorg (Liliana), manhwahub (ManhwaZ), noxenscans (MangaThemesia), skymanga (MangaThemesia), mangatx (MangaThemesia) Site issue (1): luascans (HeanCms) — Cloudflare banned
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package deathtollscans
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/foolslide"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Death Toll Scans",
|
||||
BaseURL: "https://reader.deathtollscans.net",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package deathtollscans
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Death Toll Scans", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package eighteenporncomic
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/manga18"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "18 Porn Comic",
|
||||
BaseURL: "https://18porncomic.com",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package eighteenporncomic
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "18 Porn Comic", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package luascans
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/heancms"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "LuaScans",
|
||||
BaseURL: "https://luacomic.org",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package luascans
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "LuaScans", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package manga18club
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/manga18"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Manga18.Club",
|
||||
BaseURL: "https://manga18.club",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package manga18club
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Manga18.Club", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package mangatellers
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/foolslide"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Mangatellers",
|
||||
BaseURL: "https://reader.mangatellers.gr",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package mangatellers
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Mangatellers", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package mangatx
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/mangathemesia"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "MangaTX",
|
||||
BaseURL: "https://mangatx.cc",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package mangatx
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "MangaTX", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package manhuaplusorg
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/liliana"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "ManhuaPlusOrg",
|
||||
BaseURL: "https://manhuaplus.org",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package manhuaplusorg
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "ManhuaPlusOrg", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package manhwahub
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/manhwaz"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "ManhwaHub",
|
||||
BaseURL: "https://manhwahub.net",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package manhwahub
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "ManhwaHub", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package noxenscans
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/mangathemesia"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "NoxenScans",
|
||||
BaseURL: "https://noxenscan.com",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package noxenscans
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "NoxenScans", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package skymanga
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/mangathemesia"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "SkyManga",
|
||||
BaseURL: "https://skymanga.work",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package skymanga
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "SkyManga", "en") }
|
||||
Reference in New Issue
Block a user