recommendation

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailParser added in v0.5.0

type DetailParser struct {
	parser.BaseParser
	Type string
	ID1  int
	ID2  int
	Data model.Recommendation
}

DetailParser is parser for MyAnimeList anime & manga recommendation information. Example: https://myanimelist.net/recommendations/anime/1-205

https://myanimelist.net/recommendations/manga/1-21

func InitDetailParser added in v0.5.0

func InitDetailParser(config config.Config, recommendationType string, id1 int, id2 int) (recommendation DetailParser, err error)

InitDetailParser to initiate all fields and data of DetailParser.

type ListParser added in v0.5.0

type ListParser struct {
	parser.BaseParser
	Type string
	Page int
	Data []model.Recommend
}

ListParser is parser for MyAnimeList anime & manga recommendation information. Example: https://myanimelist.net/recommendations.php?s=recentrecs&t=anime

func InitListParser added in v0.5.0

func InitListParser(config config.Config, rType string, page ...int) (recommend ListParser, err error)

InitListParser to initiate all fields and data of ListParser.

Jump to

Keyboard shortcuts

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