Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type M3U8Spec ¶
type M3U8Spec struct { Filename string `json:"filename"` KeyName string `json:"keyName"` RawQuery string `json:"rawQuery"` }
M3U8Spec declares the information of m3u8 playlist, presents m3u8 filename and crypto key filename
type TSLink ¶
type TSLink struct { Link string `json:"link"` BaseUrl string `json:"baseUrl"` QueryString string `json:"queryString"` Filename string `json:"filename"` }
TSLink declares the information of ts file in m3u8 playlist, presents link, base url, query string and the most important filename
type Task ¶
type Task struct { Prefix string `json:"prefix"` SaveTo string `json:"saveTo"` PageUrl string `json:"pageUrl"` Spec *M3U8Spec `json:"spec"` }
Task declares the download task
Click to show internal directories.
Click to hide internal directories.