Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DisabledSites = []string{
"www.comicextra.com",
}
DisabledSites are the sites that are currently disabled.
View Source
var SupportedSites = []string{
"www.comicextra.com",
"www.mangareader.net",
"www.mangatown.com",
"www.mangahere.cc",
"mangadex.cc",
"mangadex.org",
}
SupportedSites are the supported sites.
Functions ¶
Types ¶
type BaseSite ¶ added in v0.12.3
type BaseSite interface { // Initialize will initialize the comic struct with the images link Initialize(comic *core.Comic) error // GetInfo will return the comic name and issue number GetInfo(url string) (string, string) // RetrieveIssueLinks will return the images links of a comic RetrieveIssueLinks(url string, all, last bool) ([]string, error) }
BaseSite specifies an implementation of a Site which allows to retrieve a manga/comic basics info and imges links
type Comicextra ¶ added in v0.12.3
type Comicextra struct{}
func (*Comicextra) GetInfo ¶ added in v0.12.3
func (c *Comicextra) GetInfo(url string) (string, string)
func (*Comicextra) Initialize ¶ added in v0.12.3
func (c *Comicextra) Initialize(comic *core.Comic) error
Initialize will initialize the comic based on comicextra.com
func (*Comicextra) RetrieveIssueLinks ¶ added in v0.12.3
func (c *Comicextra) RetrieveIssueLinks(url string, all, last bool) ([]string, error)
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type Mangadex ¶ added in v0.17.0
func NewMangadex ¶ added in v0.17.0
NewMangadex returns a Mangadex instance
func (*Mangadex) Initialize ¶ added in v0.17.0
Initialize loads links and metadata from mangadex
type Mangareader ¶ added in v0.12.3
type Mangareader struct{}
func (*Mangareader) GetInfo ¶ added in v0.12.3
func (m *Mangareader) GetInfo(url string) (string, string)
func (*Mangareader) Initialize ¶ added in v0.12.3
func (m *Mangareader) Initialize(comic *core.Comic) error
Initialize loads links and metadata from mangareader
func (*Mangareader) RetrieveIssueLinks ¶ added in v0.12.3
func (m *Mangareader) RetrieveIssueLinks(url string, all, last bool) ([]string, error)
RetrieveIssueLinks gets a slice of urls for all issues in a comic
Click to show internal directories.
Click to hide internal directories.