Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2022 Changes in this version + type Bool int32 + func (b *Bool) Clear() + func (b *Bool) Get() bool + func (b *Bool) Set(val bool) + type DownloadInfo struct + Avid int64 + Cid int64 + Format string + Length int64 + Qn int64 + Size int64 + Url string + VideoID string + func GetDownloadInfoByAidCid(videoId string, avid, cid int64) (*DownloadInfo, error) + type UrlProcessor struct + func (p *UrlProcessor) CheckArgs() error + func (p *UrlProcessor) QueryAidCids() error + type VideoDownloader struct + func NewVideoDownloader(info *DownloadInfo, out *os.File) *VideoDownloader + func (d *VideoDownloader) Download() error + func (d *VideoDownloader) DownloadFragment(frag *VideoFragment) ([]byte, error) + type VideoFragment struct + Begin int64 + End int64 + type VideoInfo struct + Avid int64 + Cid int64 + Duration int64 + Page int64 + PartName string + Title string + VideoID string + func GetVideoInfosById(id string) ([]*VideoInfo, error)