feat: port 10 en/ sources (5 MadTheme + 5 Madara)
Passing (3): wuxiaworld (MangaSubString=novel), hentaisco (MangaSubString=hentai), manhuazonghe (MangaSubString=manhua) Site issues (7): lagoonscans (404), rizzcomicunoriginal (404), mangatrend (404), pmscans/rackus (404), nikatoons (404), manhwa18org (521), vyvymangaorg (521)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package hentaisco
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "HentaiSco",
|
||||
BaseURL: "https://hentaisco.cc",
|
||||
Lang: "en",
|
||||
MangaSubString: "hentai",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package hentaisco
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "HentaiSco", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package lagoonscans
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madtheme"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Lagoon Scans",
|
||||
BaseURL: "https://lagoonscans.com",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package lagoonscans
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Lagoon Scans", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package mangatrend
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madtheme"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Manga Trend",
|
||||
BaseURL: "https://mangatrend.org",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package mangatrend
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Manga Trend", "en") }
|
||||
@@ -0,0 +1,17 @@
|
||||
package manhuazonghe
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Manhua Zonghe",
|
||||
BaseURL: "https://www.manhuazonghe.com",
|
||||
Lang: "en",
|
||||
MangaSubString: "manhua",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package manhuazonghe
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Manhua Zonghe", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package manhwa18org
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Manhwa18.org",
|
||||
BaseURL: "https://manhwa18.org",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package manhwa18org
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Manhwa18.org", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package nikatoons
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madtheme"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Nika Toons",
|
||||
BaseURL: "https://nikatoons.com",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package nikatoons
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Nika Toons", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package pmscans
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madtheme"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Rackus",
|
||||
BaseURL: "https://rackusreads.com",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package pmscans
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Rackus", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package rizzcomicunoriginal
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madtheme"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "Rizz Comic (unoriginal)",
|
||||
BaseURL: "https://rizzcomic.com",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package rizzcomicunoriginal
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "Rizz Comic (unoriginal)", "en") }
|
||||
@@ -0,0 +1,16 @@
|
||||
package vyvymangaorg
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "VyvyManga.org",
|
||||
BaseURL: "https://vyvymanga.org",
|
||||
Lang: "en",
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package vyvymangaorg
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "VyvyManga.org", "en") }
|
||||
@@ -0,0 +1,18 @@
|
||||
package wuxiaworld
|
||||
|
||||
import (
|
||||
"goyomi/internal/registry"
|
||||
base "goyomi/sources/base/madara"
|
||||
)
|
||||
|
||||
func New() *base.Source {
|
||||
return base.New(base.Config{
|
||||
Name: "WuxiaWorld",
|
||||
BaseURL: "https://wuxiaworld.site",
|
||||
Lang: "en",
|
||||
MangaSubString: "novel",
|
||||
UseNewChapterEndpoint: true,
|
||||
})
|
||||
}
|
||||
|
||||
func init() { registry.Register(New()) }
|
||||
@@ -0,0 +1,8 @@
|
||||
package wuxiaworld
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"goyomi/internal/sourcetest"
|
||||
)
|
||||
|
||||
func TestSource(t *testing.T) { sourcetest.Run(t, New(), "WuxiaWorld", "en") }
|
||||
Reference in New Issue
Block a user