mgstage

package
v1.0.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name     = "MGS"
	Priority = 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MGS

type MGS struct {
	*scraper.Scraper
}

func New

func New() *MGS

func (*MGS) GetMovieInfoByID

func (mgs *MGS) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)

func (*MGS) GetMovieInfoByURL

func (mgs *MGS) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)

func (*MGS) NormalizeID

func (mgs *MGS) NormalizeID(id string) string

func (*MGS) NormalizeKeyword

func (mgs *MGS) NormalizeKeyword(keyword string) string

func (*MGS) ParseIDFromURL

func (mgs *MGS) ParseIDFromURL(rawURL string) (string, error)

func (*MGS) SearchMovie

func (mgs *MGS) SearchMovie(keyword string) (results []*model.MovieSearchResult, err error)

Jump to

Keyboard shortcuts

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