Documentation ¶
Index ¶
- Constants
- type MGS
- func (mgs *MGS) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)
- func (mgs *MGS) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)
- func (mgs *MGS) GetMovieReviewsByID(id string) (reviews []*model.MovieReviewInfo, err error)
- func (mgs *MGS) GetMovieReviewsByURL(rawURL string) (reviews []*model.MovieReviewInfo, err error)
- func (mgs *MGS) NormalizeMovieID(id string) string
- func (mgs *MGS) NormalizeMovieKeyword(keyword string) string
- func (mgs *MGS) ParseMovieIDFromURL(rawURL string) (string, error)
- func (mgs *MGS) SearchMovie(keyword string) (results []*model.MovieSearchResult, err error)
Constants ¶
View Source
const ( Name = "MGS" Priority = 1000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MGS ¶
func (*MGS) GetMovieInfoByID ¶
func (*MGS) GetMovieInfoByURL ¶
func (*MGS) GetMovieReviewsByID ¶ added in v1.2.0
func (mgs *MGS) GetMovieReviewsByID(id string) (reviews []*model.MovieReviewInfo, err error)
func (*MGS) GetMovieReviewsByURL ¶ added in v1.2.0
func (mgs *MGS) GetMovieReviewsByURL(rawURL string) (reviews []*model.MovieReviewInfo, err error)
func (*MGS) NormalizeMovieID ¶ added in v1.1.4
func (*MGS) NormalizeMovieKeyword ¶ added in v1.1.4
func (*MGS) ParseMovieIDFromURL ¶ added in v1.1.4
func (*MGS) SearchMovie ¶
func (mgs *MGS) SearchMovie(keyword string) (results []*model.MovieSearchResult, err error)
Click to show internal directories.
Click to hide internal directories.