sources

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchScraperTitle added in v1.1.0

func MatchScraperTitle(query string) (string, bool)

Types

type Connection

type Connection interface {
	GetConnectionName() string
}

func NewConnection

func NewConnection(name string) Connection

type Scraper

type Scraper interface {
	Search(query string) ([]string, *logging.ScraperError)
	SearchByID(id, title string) *logging.ScraperError

	SelectManga(name string) *logging.ScraperError
	SelectNewChapters(chapterIDs []string) ([]manga.Chapter, *logging.ScraperError)
	SelectChapters(titles []string) *logging.ScraperError

	Chapters() ([]manga.Chapter, *logging.ScraperError)
	ChapterTitles() ([]string, *logging.ScraperError)
	GroupNames() ([]string, *logging.ScraperError)

	FilterGroups(groups []string) *logging.ScraperError

	Download(downloader *downloader.Downloader, directoryMapping, downloadType string) (succeeded []manga.Chapter)

	MangaTitle() string
	MangaID() string
	ScraperName() string
	EnforceChapterDuration() bool
	Registrable() bool
}

func NewScraper

func NewScraper(name string) Scraper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL