weibo

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_CONCURRENT_NUM = 3
	RETRY_COUNT        = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DownLoadType

type DownLoadType int16
const (
	DownLoadType_Show DownLoadType = iota
	DownLoadType_ImageWall
)

type ImageSet

type ImageSet struct {
	Name   string
	IdList []string
}

type Source

type Source struct {
	Type DownLoadType
	Link string
}

type Weibo

type Weibo struct {
}

func (*Weibo) DownLoad

func (w *Weibo) DownLoad(src Source, distDir string) (err error)

func (*Weibo) GetAllImageWallPid

func (w *Weibo) GetAllImageWallPid(uid string) (ImageSet, error)

func (*Weibo) GetShowPics

func (w *Weibo) GetShowPics(id string) (ImageSet, error)

func (*Weibo) GetUserInfo

func (w *Weibo) GetUserInfo(uid string) (*info.UserInfo, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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