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
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.
Click to show internal directories.
Click to hide internal directories.