parser

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseReviews

func ParseReviews(doc *goquery.Document) ([]string, error)

Types

type Detail

type Detail struct {
	Path        string
	Title       string
	Code        string
	CoverURL    string
	PublishedAt time.Time
	Score       float64
	ScoreCount  int
	HasSubtitle bool
	PreviewURL  string
	Actors      []string
	Tags        []string
	Screenshots []string
	Magnets     []string
}

func ParseDetail

func ParseDetail(doc *goquery.Document, pageURL *url.URL) (*Detail, error)

type Summary

type Summary struct {
	Path        string
	Title       string
	Code        string
	CoverURL    string
	PublishedAt time.Time
	Score       float64
	ScoreCount  int
	HasSubtitle bool
}

func ParseList

func ParseList(doc *goquery.Document) ([]Summary, error)

Jump to

Keyboard shortcuts

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