manga

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterParser

type CharacterParser struct {
	parser.BaseParser
	ID   int
	Data []model.Character
}

CharacterParser is parser for MyAnimeList manga character list. Example: https://myanimelist.net/manga/1/Monster/characters

func InitCharacterParser

func InitCharacterParser(config config.Config, id int) (character CharacterParser, err error)

InitCharacterParser to initiate all fields and data of CharacterParser.

type MangaParser

type MangaParser struct {
	parser.BaseParser
	ID   int
	Data model.Manga
}

MangaParser is parser for MyAnimeList manga information. Example: https://myanimelist.net/manga/1

func InitMangaParser

func InitMangaParser(config config.Config, id int) (mangaParser MangaParser, err error)

InitMangaParser to initiate all fields and data of MangaParser.

type PictureParser

type PictureParser struct {
	parser.BaseParser
	ID   int
	Data []string
}

PictureParser is parser for MyAnimeList manga picture list. Example: https://myanimelist.net/manga/1/Monster/pics

func InitPictureParser

func InitPictureParser(config config.Config, id int) (picture PictureParser, err error)

InitPictureParser to initiate all fields and data of PictureParser.

type RecommendationParser

type RecommendationParser struct {
	parser.BaseParser
	ID   int
	Data []model.Recommendation
}

RecommendationParser is parser for MyAnimeList manga recommendation information. Example: https://mymangalist.net/manga/1/Monster/userrecs

func InitRecommendationParser

func InitRecommendationParser(config config.Config, id int) (recommendation RecommendationParser, err error)

InitRecommendationParser to initiate all fields and data of RecommendationParser.

type ReviewParser

type ReviewParser struct {
	parser.BaseParser
	ID   int
	Page int
	Data []model.Review
}

ReviewParser is parser for MyAnimeList manga review list. Example: https://myanimelist.net/manga/1/Monster/reviews

func InitReviewParser

func InitReviewParser(config config.Config, id int, page ...int) (review ReviewParser, err error)

InitReviewParser to initiate all fields and data of ReviewParser.

type StatsParser

type StatsParser struct {
	parser.BaseParser
	ID   int
	Page int
	Data model.Stats
}

StatsParser is parser for MyAnimeList manga stats information. Example: https://myanimelist.net/manga/1/Monster/stats

func InitStatsParser

func InitStatsParser(config config.Config, id int, page ...int) (stats StatsParser, err error)

InitStatsParser to initiate all fields and data of StatsParser.

Jump to

Keyboard shortcuts

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