arzon

package
v1.2.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Name     = "ARZON"
	Priority = 1000 - 3 // ARZON as secondary provider has lower priority than official ones.
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ARZON

type ARZON struct {
	*fetch.Fetcher
	*scraper.Scraper
}

ARZON needs `Referer` header when request to view resources.

func New

func New() *ARZON

func (*ARZON) GetMovieInfoByID

func (az *ARZON) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)

func (*ARZON) GetMovieInfoByURL

func (az *ARZON) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)

func (*ARZON) NormalizeMovieKeyword added in v1.1.4

func (az *ARZON) NormalizeMovieKeyword(keyword string) string

func (*ARZON) ParseMovieIDFromURL added in v1.1.4

func (az *ARZON) ParseMovieIDFromURL(rawURL string) (id string, err error)

func (*ARZON) SearchMovie

func (az *ARZON) 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