Documentation ¶
Index ¶
- func LoadComicFromSource(options *config.Options) ([]*core.Comic, error)
- func MangaKakalotGetInfo(domain string, url string) (string, string)
- func MangaKakalotInitialize(comic *core.Comic) error
- func MangaKakalotRetrieveIssueLinks(domain string, url string) ([]string, error)
- type BaseSite
- type Comicextra
- type MangaKakalot
- type Mangadex
- type Manganato
- type Mangareader
- type Mangatown
- type ReadComicOnline
- type Readallcomics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadComicFromSource ¶ added in v0.9.1
LoadComicFromSource will return an `comic` instance initialized based on the source
func MangaKakalotGetInfo ¶ added in v0.31.0
func MangaKakalotInitialize ¶ added in v0.31.0
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() ([]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 {
// contains filtered or unexported fields
}
Comicextra represents comicextra instance.
func NewComicextra ¶ added in v0.27.0
func NewComicextra(options *config.Options) *Comicextra
NewComicextra returs a comicextra instance.
func (*Comicextra) GetInfo ¶ added in v0.12.3
func (c *Comicextra) GetInfo(url string) (string, string)
GetInfo extracts the basic info from the given url.
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() ([]string, error)
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type MangaKakalot ¶ added in v0.31.0
type MangaKakalot struct {
// contains filtered or unexported fields
}
func NewMangaKakalot ¶ added in v0.31.0
func NewMangaKakalot(options *config.Options) *MangaKakalot
NewMangaKakalot returns a new MangaKakalot instance.
func (*MangaKakalot) GetInfo ¶ added in v0.31.0
func (m *MangaKakalot) GetInfo(url string) (string, string)
GetInfo extracts the basic info from the given url.
func (*MangaKakalot) Initialize ¶ added in v0.31.0
func (m *MangaKakalot) Initialize(comic *core.Comic) error
Initialize loads links and metadata from mangakakalot
func (*MangaKakalot) RetrieveIssueLinks ¶ added in v0.31.0
func (m *MangaKakalot) RetrieveIssueLinks() ([]string, error)
RetrieveIssueLinks retrieve the issue links for the given comic.
type Mangadex ¶ added in v0.17.0
type Mangadex struct {
// contains filtered or unexported fields
}
Mangadex represents a mangadex instance.
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
func (*Mangadex) RetrieveIssueLinks ¶ added in v0.17.0
RetrieveIssueLinks retrieve the issue links for the given comic.
type Manganato ¶ added in v0.31.0
type Manganato struct {
// contains filtered or unexported fields
}
func NewManganato ¶ added in v0.31.0
NewManganato returns a new Manganato instance.
func (*Manganato) Initialize ¶ added in v0.31.0
Initialize loads links and metadata from manganato
func (*Manganato) RetrieveIssueLinks ¶ added in v0.31.0
RetrieveIssueLinks retrieve the issue links for the given comic.
type Mangareader ¶ added in v0.12.3
type Mangareader struct {
// contains filtered or unexported fields
}
Mangareader represents a Mangareader instance
func NewMangareader ¶ added in v0.27.0
func NewMangareader(options *config.Options) *Mangareader
NewMangareader returns a mangareader instance.
func (*Mangareader) GetInfo ¶ added in v0.12.3
func (m *Mangareader) GetInfo(url string) (string, string)
GetInfo extracts the basic info from the given URL.
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() ([]string, error)
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type Mangatown ¶ added in v0.12.3
type Mangatown struct {
// contains filtered or unexported fields
}
Mangatown represents a Mangatown instance.
func NewMangatown ¶ added in v0.27.0
NewMangatown returns a new mangatown instance.
func (*Mangatown) Initialize ¶ added in v0.12.3
Initialize loads links and metadata from mangatown
func (*Mangatown) RetrieveIssueLinks ¶ added in v0.12.3
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type ReadComicOnline ¶ added in v0.24.0
type ReadComicOnline struct {
// contains filtered or unexported fields
}
ReadComicOnline represents a readcomiconline instance.
func NewReadComiconline ¶ added in v0.27.0
func NewReadComiconline(options *config.Options) *ReadComicOnline
NewReadComiconline returns a readcomiconline instance.
func (*ReadComicOnline) GetInfo ¶ added in v0.24.0
func (c *ReadComicOnline) GetInfo(url string) (string, string)
GetInfo extracts the basic info from the given url.
func (*ReadComicOnline) Initialize ¶ added in v0.24.0
func (c *ReadComicOnline) Initialize(comic *core.Comic) error
Initialize will initialize the comic based on ReadComicOnline.to
func (*ReadComicOnline) RetrieveIssueLinks ¶ added in v0.24.0
func (c *ReadComicOnline) RetrieveIssueLinks() ([]string, error)
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type Readallcomics ¶ added in v0.28.0
type Readallcomics struct {
// contains filtered or unexported fields
}
Readallcomics represents a Readallcomics instance.
func NewReadallcomics ¶ added in v0.28.0
func NewReadallcomics(options *config.Options) *Readallcomics
NewReadallcomics returns a new Readallcomics instance.
func (*Readallcomics) GetInfo ¶ added in v0.28.0
func (r *Readallcomics) GetInfo(url string) (string, string)
GetInfo extracts the comic info from the given URL.
func (*Readallcomics) Initialize ¶ added in v0.28.0
func (r *Readallcomics) Initialize(comic *core.Comic) error
Initialize prepare the comic instance with links and images.
func (*Readallcomics) RetrieveIssueLinks ¶ added in v0.28.0
func (r *Readallcomics) RetrieveIssueLinks() ([]string, error)
RetrieveIssueLinks retrieves the links to all the issue.