duga

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

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

func (*DUGA) NormalizeKeyword

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

func (*DUGA) ParseIDFromURL

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