duga

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     = "DUGA"
	Priority = 1000 - 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DUGA

type DUGA struct {
	*scraper.Scraper
}

func New

func New() *DUGA

func (*DUGA) GetMovieInfoByID

func (duga *DUGA) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)

func (*DUGA) GetMovieInfoByURL

func (duga *DUGA) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)

func (*DUGA) NormalizeMovieID added in v1.1.4

func (duga *DUGA) NormalizeMovieID(id string) string

func (*DUGA) NormalizeMovieKeyword added in v1.1.4

func (duga *DUGA) NormalizeMovieKeyword(keyword string) string

func (*DUGA) ParseMovieIDFromURL added in v1.1.4

func (duga *DUGA) ParseMovieIDFromURL(rawURL string) (string, error)

func (*DUGA) SearchMovie

func (duga *DUGA) 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