core

package
v1.1.8-0...-1e778eb Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merger

func Merger(details []*detail, path string, save bool) *merge

Types

type Dash

type Dash struct {
	ID      string
	Path    string
	Save    bool
	All     bool
	Details []*detail

	Parser *Parser
	// contains filtered or unexported fields
}

func New

func New(id, _path string, save bool, goNum int, all bool) (*Dash, error)

TODO

func (*Dash) GetPlayInfo

func (d *Dash) GetPlayInfo(no int) *detail

func (*Dash) Run

func (d *Dash) Run() error

type Parser

type Parser struct {
	ID       string
	BaseInfo string
}

func NewParse

func NewParse(id string) (*Parser, error)

func (*Parser) Down

func (p *Parser) Down(id, url, dst string) error

func (*Parser) GetAuthor

func (p *Parser) GetAuthor() string

func (*Parser) GetAvID

func (p *Parser) GetAvID() string

func (*Parser) GetBaseInfo

func (p *Parser) GetBaseInfo() string

func (*Parser) GetBvID

func (p *Parser) GetBvID() string

func (*Parser) GetDesc

func (p *Parser) GetDesc() string

func (*Parser) GetNumber

func (p *Parser) GetNumber() int64

func (*Parser) GetPubDate

func (p *Parser) GetPubDate() string

func (*Parser) GetSubTitlesArray

func (p *Parser) GetSubTitlesArray() []string

func (*Parser) GetTitle

func (p *Parser) GetTitle() string

func (*Parser) GetTotalTime

func (p *Parser) GetTotalTime() int64

func (*Parser) Show

func (p *Parser) Show()

Jump to

Keyboard shortcuts

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