Documentation ¶
Index ¶
Constants ¶
View Source
const ( SourceTypeShardContent = iota SourceTypeVideoId )
Variables ¶
View Source
var (
DefaultUserAgent = `` /* 135-byte string literal not displayed */
)
Functions ¶
func SetupHeaders ¶
Types ¶
type DouYin ¶
type DouYin struct {
// contains filtered or unexported fields
}
func (*DouYin) GetAllVideoIDList ¶
type Source ¶
type Source struct { Type SourceType Content string }
type SourceType ¶
type SourceType uint
type Video ¶
type Video struct { VideoId string `json:"video_id"` PlayId string `json:"play_id"` PlayAddr string `json:"play_addr"` VideoRawAddr string `json:"video_raw_addr"` PlayRawAddr string `json:"play_raw_addr"` OriginCoverList []string `json:"origin_cover_list"` Desc string `json:"desc"` RawLink string `json:"raw_link"` Author struct { Id string `json:"id"` ShortId string `json:"short_id"` Nickname string `json:"nickname"` AvatarLarger string `json:"avatar_larger"` Signature string `json:"signature"` } `json:"author"` Images []string `json:"images"` VideoType VideoType `json:"video_type"` // contains filtered or unexported fields }
Video 抖音视频
Click to show internal directories.
Click to hide internal directories.