airav

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name     = "AIRAV"
	Priority = 1000 - 6 // unofficial provider gets lower priority.
)

Variables

This section is empty.

Functions

func ParseNumber

func ParseNumber(s string) string

ParseNumber parses barcode to standard movie number.

Types

type AirAV

type AirAV struct {
	*scraper.Scraper
}

func New

func New() *AirAV

func (*AirAV) GetMovieInfoByID

func (air *AirAV) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)

func (*AirAV) GetMovieInfoByURL

func (air *AirAV) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)

func (*AirAV) NormalizeMovieID added in v1.1.4

func (air *AirAV) NormalizeMovieID(id string) string

func (*AirAV) NormalizeMovieKeyword added in v1.1.4

func (air *AirAV) NormalizeMovieKeyword(keyword string) string

func (*AirAV) ParseMovieIDFromURL added in v1.1.4

func (air *AirAV) ParseMovieIDFromURL(rawURL string) (string, error)

func (*AirAV) SearchMovie

func (air *AirAV) 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