Versions in this module Expand all Collapse all v1 v1.0.1 Apr 21, 2021 v1.0.0 Apr 21, 2021 Changes in this version + const API_BANGUMI_DETAIL + const API_PLAYURL_WEB + const API_PLAYURL_YST + const API_VIDEO_DETAIL + const REFERER + const USER_AGENT_TV + const USER_AGENT_WEB + const VERSION + var Debug = false + func IsValidParts(detail *videoDetail, parts ...int) bool + func IsValidPartsBangumi(detail *bangumiDetail, parts ...int) bool + func IsValidVid(vids ...string) bool + type DownloadOption struct + Parts []int + Quality int + func NewDownloadOption(quality int, parts ...int) *DownloadOption + type Downloader struct + Cookie string + Merge bool + PlayUrlAPI string + UserAgentTv string + UserAgentWeb string + Videos map[string]*DownloadOption + func NewDownloader(videos map[string]*DownloadOption, merge bool) *Downloader + func (d *Downloader) Download() error