Documentation ¶
Index ¶
- Constants
- type AVBase
- func (ab *AVBase) GetBuildID() (string, error)
- func (ab *AVBase) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)
- func (ab *AVBase) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)
- func (ab *AVBase) JoinPrefixID(prefix, workID string) string
- func (ab *AVBase) NormalizeID(id string) string
- func (ab *AVBase) NormalizeKeyword(keyword string) string
- func (ab *AVBase) ParseIDFromURL(rawURL string) (string, error)
- func (ab *AVBase) SearchMovie(keyword string) (results []*model.MovieSearchResult, err error)
- type Actor
- type Work
Constants ¶
View Source
const ( Name = "AVBASE" Priority = 1000 - 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AVBase ¶
func (*AVBase) GetBuildID ¶
func (*AVBase) GetMovieInfoByID ¶
func (*AVBase) GetMovieInfoByURL ¶
func (*AVBase) JoinPrefixID ¶ added in v1.1.2
func (*AVBase) NormalizeID ¶
func (*AVBase) NormalizeKeyword ¶
func (*AVBase) SearchMovie ¶
func (ab *AVBase) SearchMovie(keyword string) (results []*model.MovieSearchResult, err error)
type Work ¶
type Work struct { ID int `json:"id"` Prefix string `json:"prefix"` WorkID string `json:"work_id"` Title string `json:"title"` MinDate string `json:"min_date"` Genres []struct { ID int `json:"id"` Name string `json:"name"` } `json:"genres"` Products []struct { ID int `json:"id"` ProductID string `json:"product_id"` URL string `json:"url"` Title string `json:"title"` Source string `json:"source"` ImageURL string `json:"image_url"` ThumbnailURL string `json:"thumbnail_url"` Date string `json:"date"` Maker struct { Name string `json:"name"` } `json:"maker"` Label struct { Name string `json:"name"` } `json:"label"` Series struct { Name string `json:"name"` } `json:"series"` SampleImageURLS []struct { S string `json:"s"` L string `json:"l"` } `json:"sample_image_urls"` ItemInfo struct { Description string `json:"description"` Price string `json:"price"` Volume string `json:"volume"` } `json:"iteminfo"` } `json:"products"` Actors []Actor `json:"actors"` Casts []struct { Actor Actor `json:"actor"` } `json:"casts"` }
Click to show internal directories.
Click to hide internal directories.