airav

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: 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) NormalizeID

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

func (*AirAV) NormalizeKeyword

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

func (*AirAV) ParseIDFromURL

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