video

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2022 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Video

type Video struct {
	Vid string

	SaveDir string
	// contains filtered or unexported fields
}

Video 包含视频号、标题、作者、日期等基本信息

func (*Video) DownloadSeriesVideos

func (v *Video) DownloadSeriesVideos(quality string)

DownloadSeriesVideos 下载指定清晰度的系列视频

func (*Video) DownloadSingleVideo

func (v *Video) DownloadSingleVideo(quality string)

DownloadSingleVideo 下载指定清晰度的视频,若指定的视频清晰度不存在,则尝试下载稍低的清晰度的视频

func (*Video) GetVideoInfo

func (v *Video) GetVideoInfo() bool

GetVideoInfo 获取视频的基本信息

func (*Video) ShowVideoInfo

func (v *Video) ShowVideoInfo()

ShowVideoInfo 按照格式输出视频的基本信息

Jump to

Keyboard shortcuts

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