fc2hub

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     = "fc2hub"
	Priority = 1000 - 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FC2HUB

type FC2HUB struct {
	*scraper.Scraper
}

func New

func New() *FC2HUB

func (*FC2HUB) GetMovieInfoByID

func (fc2hub *FC2HUB) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)

func (*FC2HUB) GetMovieInfoByURL

func (fc2hub *FC2HUB) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)

func (*FC2HUB) NormalizeMovieKeyword added in v1.1.4

func (fc2hub *FC2HUB) NormalizeMovieKeyword(keyword string) string

func (*FC2HUB) ParseMovieIDFromURL added in v1.1.4

func (fc2hub *FC2HUB) ParseMovieIDFromURL(rawURL string) (string, error)

func (*FC2HUB) SearchMovie

func (fc2hub *FC2HUB) 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