core

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	*scraper.Scraper

	// URLs
	BaseURL        string
	MovieURL       string
	SampleVideoURL string

	// Values
	DefaultPriority int
	DefaultName     string
	DefaultMaker    string

	// Paths
	GalleryPath       string
	LegacyGalleryPath string
}

func (*Core) GetMovieInfoByID

func (core *Core) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)

func (*Core) GetMovieInfoByURL

func (core *Core) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)

func (*Core) Init

func (core *Core) Init() *Core

func (*Core) ParseIDFromURL

func (core *Core) ParseIDFromURL(rawURL string) (string, error)

Jump to

Keyboard shortcuts

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