Documentation ¶
Index ¶
Constants ¶
View Source
const Origin = "http://api2.musical.ly"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AwemeDetail ¶
type AwemeDetail struct { Author struct { Unique_ID string } Aweme_ID string Create_Time int64 Desc string Video struct { Duration int64 Play_Addr struct { Width int Height int URL_List []string } } }
func NewAwemeDetail ¶
func NewAwemeDetail(id uint64, transport http.RoundTripper) (*AwemeDetail, error)
func (AwemeDetail) Description ¶
func (a AwemeDetail) Description() string
func (*AwemeDetail) DownloadVideo ¶
func (det *AwemeDetail) DownloadVideo(downloadBytesLimit int64) (*os.File, error)
func (AwemeDetail) Duration ¶
func (a AwemeDetail) Duration() time.Duration
func (AwemeDetail) Time ¶
func (a AwemeDetail) Time() string
func (AwemeDetail) URL ¶
func (a AwemeDetail) URL() (string, error)
Click to show internal directories.
Click to hide internal directories.