gcolle

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: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name     = "Gcolle"
	Priority = 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Gcolle

type Gcolle struct {
	*scraper.Scraper
}

func New

func New() *Gcolle

func (*Gcolle) GetMovieInfoByID

func (gcl *Gcolle) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)

func (*Gcolle) GetMovieInfoByURL

func (gcl *Gcolle) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)

func (*Gcolle) NormalizeMovieID added in v1.1.4

func (gcl *Gcolle) NormalizeMovieID(id string) string

func (*Gcolle) ParseMovieIDFromURL added in v1.1.4

func (gcl *Gcolle) ParseMovieIDFromURL(rawURL string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL