spider

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ASMRClient added in v0.3.0

type ASMRClient struct {
	Authorization string
	WorkerPool    *utils.WorkerPool
	ThreadCount   int
}

func NewASMRClient added in v0.3.0

func NewASMRClient(maxTask int, maxThread int) *ASMRClient

func (*ASMRClient) Download added in v0.3.0

func (ac *ASMRClient) Download(id string)

func (*ASMRClient) DownloadFile added in v0.3.0

func (ac *ASMRClient) DownloadFile(url string, dirPath string, fileName string)

func (*ASMRClient) EnsureDir added in v0.3.0

func (ac *ASMRClient) EnsureDir(tracks []track, basePath string)

func (*ASMRClient) GetVoiceTracks added in v0.3.0

func (ac *ASMRClient) GetVoiceTracks(id string) ([]track, error)

func (*ASMRClient) Login added in v0.3.0

func (ac *ASMRClient) Login() error

Jump to

Keyboard shortcuts

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