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 ID int Data model.People }
DetailParser is parser for MyAnimeList people information. Example: https://myanimelist.net/people/1
func InitDetailParser ¶ added in v0.5.0
func InitDetailParser(config config.Config, id int) (people DetailParser, err error)
InitDetailParser to initiate all fields and data of DetailParser.
type FeaturedParser ¶ added in v0.5.0
type FeaturedParser struct { parser.BaseParser ID int Data []model.Featured }
FeaturedParser is parser for MyAnimeList people featured list. Example: https://myanimelist.net/people/185/Kana_Hanazawa/featured
func InitFeaturedParser ¶ added in v0.5.0
func InitFeaturedParser(config config.Config, id int) (featured FeaturedParser, err error)
InitFeaturedParser to initiate all fields and data of FeaturedParser.
type NewsParser ¶ added in v0.4.0
type NewsParser struct { parser.BaseParser ID int Data []model.News }
NewsParser is parser for MypeopleList people news list. Example: https://mypeoplelist.net/people/1/Tomokazu_Seki/news
func InitNewsParser ¶ added in v0.4.0
func InitNewsParser(config config.Config, id int) (news NewsParser, err error)
InitNewsParser to initiate all fields and data of NewsParser.
type PictureParser ¶ added in v0.5.0
type PictureParser struct { parser.BaseParser ID int Data []string }
PictureParser is parser for MyAnimeList people picture list. Example: https://myanimelist.net/people/1/Tomokazu_Seki/pictures
func InitPictureParser ¶ added in v0.5.0
func InitPictureParser(config config.Config, id int) (picture PictureParser, err error)
InitPictureParser to initiate all fields and data of PictureParser.