pcolle

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Pcolle

type Pcolle struct {
	*scraper.Scraper
}

func New

func New() *Pcolle

func (*Pcolle) GetMovieInfoByID

func (pcl *Pcolle) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)

func (*Pcolle) GetMovieInfoByURL

func (pcl *Pcolle) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)

func (*Pcolle) NormalizeMovieID added in v1.1.4

func (pcl *Pcolle) NormalizeMovieID(id string) string

func (*Pcolle) ParseMovieIDFromURL added in v1.1.4

func (pcl *Pcolle) ParseMovieIDFromURL(rawURL string) (string, error)

Jump to

Keyboard shortcuts

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