Documentation ¶
Index ¶
- func FetchDocument(url string) (document *goquery.Document, err error)
- type MangaKakalot
- func (mangakakalot MangaKakalot) DownloadChapter(chapter models.Chapter)
- func (mangakakalot MangaKakalot) DownloadManga(manga *models.Manga) error
- func (m MangaKakalot) GetManga(url string, dlmode string) (models.Manga, error)
- func (m MangaKakalot) Search(name string, page uint64) (SearchResult, error)
- type Provider
- type SearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MangaKakalot ¶
type MangaKakalot struct{}
func (MangaKakalot) DownloadChapter ¶
func (mangakakalot MangaKakalot) DownloadChapter(chapter models.Chapter)
func (MangaKakalot) DownloadManga ¶
func (mangakakalot MangaKakalot) DownloadManga(manga *models.Manga) error
Download chapters of a manga according to the download mode
func (MangaKakalot) Search ¶
func (m MangaKakalot) Search(name string, page uint64) (SearchResult, error)
type Provider ¶
type Provider interface { Search(name string, page uint64) (SearchResult, error) DownloadManga(manga *models.Manga) error DownloadChapter(chapter models.Chapter) GetManga(url string, dlmode string) (models.Manga, error) }
func FindProvider ¶
func FindProviderFromUrl ¶
Return a supported provider from a given URL. This could possibly be done better but this was the first solution I came up with
Click to show internal directories.
Click to hide internal directories.