genre

package
v0.2.1 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 AnimeParser

type AnimeParser struct {
	parser.BaseParser
	ID   int
	Page int
	Data []model.Anime
}

AnimeParser is parser for MyAnimeList genre's anime list. Example: https://myanimelist.net/anime/genre/1/Action

func InitAnimeParser

func InitAnimeParser(config config.Config, id int, page ...int) (genre AnimeParser, err error)

InitAnimeParser to initiate all fields and data of AnimeParser.

type GenresParser

type GenresParser struct {
	parser.BaseParser
	Type string
	Data []model.Genre
}

GenresParser is parser for MyAnimeList all anime & manga genres. Example: https://myanimelist.net/anime.php

https://myanimelist.net/manga.php

func InitGenresParser

func InitGenresParser(config config.Config, gType string) (genres GenresParser, err error)

InitGenresParser to initiate all fields and data of GenresParser.

type MangaParser

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

MangaParser is parser for MyAnimeList genre's manga list. Example: https://myanimelist.net/manga/genre/1/Action

func InitMangaParser

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

InitMangaParser to initiate all fields and data of MangaParser.

Jump to

Keyboard shortcuts

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