2c928d3298
hentai4free: Use search-based URLs for popular/latest with m_orderby param (views/latest), matching Kotlin's popularMangaRequest override nyanukafe: Set custom selectors for popular listing and detail fields
23 lines
649 B
Go
Executable File
23 lines
649 B
Go
Executable File
package nyanukafe
|
|
|
|
import (
|
|
"goyomi/internal/registry"
|
|
base "goyomi/sources/base/keyoapp"
|
|
)
|
|
|
|
func New() *base.Source {
|
|
return base.New(base.Config{
|
|
Name: "Nyanu Kafe",
|
|
BaseURL: "https://nyanukafe.com",
|
|
Lang: "en",
|
|
|
|
PopularSelector: ".series-splide .splide__slide:not(.splide__slide--clone)",
|
|
DescriptionSelector: "div.grid > div#expand_content > p",
|
|
StatusSelector: "div.w-full.flex-wrap > div:eq(3) > div:last-child",
|
|
AuthorSelector: "div.w-full.flex-wrap > div:eq(0) > div:last-child",
|
|
ArtistSelector: "div.w-full.flex-wrap > div:eq(1) > div:last-child",
|
|
})
|
|
}
|
|
|
|
func init() { registry.Register(New()) }
|