Versions in this module Expand all Collapse all v0 v0.0.23 Dec 1, 2020 Changes in this version + func RunTxDetailTow(runType RunType, arg map[string]string) error + func TxDetailOne(runType RunType) error + func TxDetailTow(runType RunType) error + func TxGetDetailTowURLS(url string) ([]string, error) + type TxGetPlaysource struct + Error int + Msg string + PlaylistItem struct{ ... } v0.0.21 Oct 12, 2020 Changes in this version + func IqyArchive(runType RunType) error + func IqyDetailBranch(url string) string + func IqyEpisodes(runType RunType) error + func IqyGetAID(url string) string + func IqyGetEpisodesMaxPage(aid string) (int, int, error) + type IqiyPaoPaoInfoApi struct + Code string + Data struct{ ... } + func IqyAvlistInfo(aid, page string) (*IqiyPaoPaoInfoApi, error) v0.0.20 Oct 7, 2020 Changes in this version + const IqyAgentversion + const IqyAuthCookie + const IqyDfp + const IqyMDeviceID + const RepetitionMsg + var AnnieFile = fmt.Sprintf("%s\\annie.exe", AppBinPath) + var AppBinPath = fmt.Sprintf("%s\\bin", AppPath) + var AppDataPath = fmt.Sprintf("%s\\data", AppPath) + var AppPath = fmt.Sprintf("%s\\goannie", os.Getenv("APPDATA")) + var Aria2File = fmt.Sprintf("%s\\aria2c.exe", AppBinPath) + var Client = http.Client + var FfmpegFile = fmt.Sprintf("%s\\ffmpeg.exe", AppBinPath) + var RedisConfFile = fmt.Sprintf("%s\\redis.windows-service.conf", AppBinPath) + var RedisFile = fmt.Sprintf("%s\\redis-server.exe", AppBinPath) + var UserAgentPc = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36 Edg/84.0.522.61" + var UserAgentWap = "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 Edg/84.0.4147.135" + func AddVideoID(pt, vid string, conn redis.Conn) error + func AnnieDownload(url, savePath, cookiePath, DefaultCookie string) error + func AnnieDownloadAll(urlList []map[string]string, runType RunType, pt string) + func Aria2Download(url, savePath, saveFile, cookiePath string, maxConnectionPerServer int) error + func BliGetBvid(url string) string + func BliGetVideoP(runType RunType, bvid string) error + func BliIsP(bvid string) bool + func CreactVideoID(pt string) error + func DyGetDownloadURL(uri, ratio string) (string, error) + func DyGetItemID(url string) (string, error) + func DyGetRealURL(url string, errorCount int) (string, error) + func DyGetSecUID(url string) (string, error) + func GetCmdDataString(Info string, resData *string) error + func GetRealURL(url string) (string, error) + func GetTxtContent(path string) string + func GetVideoID(pt string) (*[]string, error) + func IqyEpisodeInfoActionSign(qipuIds, timestamp string) string + func IqyGetFuID(url string) (string, error) + func IqyGetMaxPage(fuid string) (int, int, error) + func IqyGetVID(url string) string + func IqyVideosActionSign(fuid, timestamp, page, size string) string + func IsExist(path string) (bool, error) + func IsVideoID(pt, vid string, conn redis.Conn) bool + func MD5(str string) string + func MapToParameters(parameters [][2]string) string + func NewMapToParameters(parameters [][2]string, isQuery bool) string + func PrintErrInfo(errInfo string) + func PrintInfo(info string) + func PrintInfof(info string) + func PrintVideoIDCount(conn redis.Conn) + func RequestGet(url string, headers map[string]string) (*http.Response, error) + func RequestGetHTML(url string, headers map[string]string) ([]byte, error) + func RequestGetJSON(url string, headers map[string]string, v interface{}) error + func RunBliOne(runType RunType, arg map[string]string) error + func RunBliUserList(runType RunType, arg map[string]string) error + func RunDyOne(runType RunType, arg map[string]string) error + func RunDyShortURL(runType RunType, arg map[string]string) error + func RunDyUserList(runType RunType, arg map[string]string) error + func RunHgUserList(runType RunType, arg map[string]string) error + func RunHkOne(runType RunType, arg map[string]string) error + func RunHkUserList(runType RunType, arg map[string]string) error + func RunIqyDetail(runType RunType, arg map[string]string) error + func RunIqyOne(runType RunType, arg map[string]string) error + func RunIqyUserList(runType RunType, arg map[string]string) error + func RunLookHgUserList(runType RunType, arg map[string]string) error + func RunLookTxUserList(runType RunType, arg map[string]string) error + func RunLookXgUserList(runType RunType, arg map[string]string) error + func RunTxDetail(runType RunType, arg map[string]string) error + func RunTxOne(runType RunType, arg map[string]string) error + func RunTxUserList(runType RunType, arg map[string]string) error + func RunXgOne(runType RunType, arg map[string]string) error + func RunXgUserList(runType RunType, arg map[string]string) error + func RunYkOne(runType RunType, arg map[string]string) error + func RunYkUserlist(runType RunType, arg map[string]string) error + func SetGoannieEnv() error + func TOLeadRedis(conn redis.Conn) + func TxGetVID(url string) string + func YkGetMaxPage(uid string) (int, error) + func YkGetUID(url string) (string, error) + func YkGetUserVideolist(uid, page string) ([]map[string]string, error) + func YkGetUserVideolistHTML(uid, page string) ([]byte, error) + func YkGetVID(url string) (string, error) + type BliUserVideoList struct + Code int + Data struct{ ... } + Message string + TTL int + type BliVideoP struct + Code int + Data []struct{ ... } + Message string + type DouyinUserInfo struct + StatusCode int + UserInfo struct{ ... } + func DyGetUserInfo(secUserID string) (*DouyinUserInfo, error) + type DouyinVideoInfo struct + AwemeID string + Duration int + Height int + Ratio string + Title string + URI string + Widht int + func DyGetOne(url string) (*DouyinVideoInfo, error) + type DouyinVideoItem struct + ItemList []struct{ ... } + StatusCode int + func DyGetIteminfo(itemID string) (*DouyinVideoItem, error) + type DouyinVideoList struct + AwemeList []struct{ ... } + HasMore int + MaxCursor int + MinCursor int + StatusCode int + func DyGetUserlistAPI(secUserID string, maxCursor, errCount int) (*DouyinVideoList, error) + type DownloadPrint struct + Quality string + Site string + Size string + SizeBytes int64 + Title string + Type string + func (d *DownloadPrint) FormatSize() + func (d *DownloadPrint) Init(url string) + func (d *DownloadPrint) SetSize(url string) + func (d DownloadPrint) Print() + type HaokanUserVideoList struct + Data struct{ ... } + Errno int + Error string + type HuoguoUserVideoList struct + Data struct{ ... } + Msg string + Ret int + type IqiyEpisodeInfoAction struct + Code string + Data map[string]struct{ ... } + Msg interface{} + func IqyEpisodeInfoAction(fuid, qipuIds string) (*IqiyEpisodeInfoAction, error) + func IqyGetUserVideos(fuid string, page string) (*IqiyEpisodeInfoAction, error) + type IqiyGetVideosAction struct + Code string + Data struct{ ... } + Msg interface{} + func IqyVideosAction(fuid, page, size string) (*IqiyGetVideosAction, error) + type IqiyiPlayPageInfo struct + AlbumId string + Cid string + func DetailGetPlayPageInfo(url, cookiePath string) (*IqiyiPlayPageInfo, error) + type IqiyiSvlistinfo struct + Code string + Data map[string][]struct{ ... } + func DetailGetSvlistinfo(url, cookiePath string) (*IqiyiSvlistinfo, error) + type RunType struct + CookieFile string + DefaultCookie string + IsDeWeight bool + RedisConn redis.Conn + SavePath string + URL string + type TengxunPlaysource struct + Error int + Msg string + PlaylistItem struct{ ... } + func DetailGetPlaysource(url string) (*TengxunPlaysource, error) + type TengxunUserVideoList struct + Body struct{ ... } + ErrorMsg string + FuncRet int + RequestID int + Ret int + TransInfo struct{} + type XiguaInfo struct + Ck struct{} + Data struct{ ... } + Success bool + type XiguaUserList struct + Data []struct{ ... } + HasMore bool + Message string + UserInfo struct{ ... }