Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶ added in v0.9.1
type Batch struct { Vids string VideoList []Video SaveDir string Quality string IsSeries bool VidPrefix bool }
Batch 包含多个 Video 的信息
func (*Batch) DownloadMultiVideos ¶ added in v0.9.1
func (b *Batch) DownloadMultiVideos()
DownloadMultiVideos 下载多个视频
type Video ¶
type Video struct { Vid string SaveDir string VidPrefix bool // 视频文件名是否使用具体的vid作为前缀,例如vid_filename.mp4 // contains filtered or unexported fields }
Video 包含视频号、标题、作者、日期等基本信息
func (*Video) DownloadSeriesVideos ¶
DownloadSeriesVideos 下载指定清晰度的专题视频
func (*Video) DownloadSingleVideo ¶
DownloadSingleVideo 下载指定清晰度的视频,若指定的视频清晰度不存在,则尝试下载稍低的清晰度的视频
Click to show internal directories.
Click to hide internal directories.