Documentation ¶
Index ¶
- type Core
- func (core *Core) Fetch(url string) (resp *http.Response, err error)
- func (core *Core) GetMovieInfoByID(id string) (info *model.MovieInfo, err error)
- func (core *Core) GetMovieInfoByURL(rawURL string) (info *model.MovieInfo, err error)
- func (core *Core) GetMovieReviewsByID(id string) (reviews []*model.MovieReviewDetail, err error)
- func (core *Core) GetMovieReviewsByURL(rawURL string) (reviews []*model.MovieReviewDetail, err error)
- func (core *Core) Init() *Core
- func (core *Core) ParseMovieIDFromURL(rawURL string) (string, error)
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 float64 DefaultName string DefaultMaker string // Paths GalleryPath string LegacyGalleryPath string }
func (*Core) GetMovieInfoByID ¶
func (*Core) GetMovieInfoByURL ¶
func (*Core) GetMovieReviewsByID ¶ added in v1.2.0
func (core *Core) GetMovieReviewsByID(id string) (reviews []*model.MovieReviewDetail, err error)
func (*Core) GetMovieReviewsByURL ¶ added in v1.2.0
func (core *Core) GetMovieReviewsByURL(rawURL string) (reviews []*model.MovieReviewDetail, err error)
Click to show internal directories.
Click to hide internal directories.