scraper

package
v0.0.0-...-a622e30 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDatabase  = errors.New("database error")
	ErrFileError = errors.New("book file error")
)

Functions

func Parse

func Parse(observer Observer, basePath string, coverPath string, forceUpdate bool) error

func ParseCover

func ParseCover(coverData []byte) (format string, colorStr string, err error)

Types

type Observer

type Observer interface {
	StartProcess() error
	EndProcess() error
	Success(book string, msg string)
	Error(book string, msg string)
}

Jump to

Keyboard shortcuts

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