Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Android = UserAgent{
API: 99,
Brand: "brand",
Density: "density",
Device: "device",
Instagram: "222.0.0.15.114",
Model: "model",
Platform: "platform",
Release: 9,
Resolution: "9999x9999",
}
View Source
var LogLevel format.LogLevel
Functions ¶
Types ¶
type EdgeText ¶ added in v1.49.2
type EdgeText struct {
Edges []struct {
Node struct {
Text string
}
}
}
type GraphMedia ¶ added in v1.46.6
type GraphMedia struct {
Edge_Media_To_Caption EdgeText
Owner struct {
Username string
}
Display_URL string
Video_URL string
Edge_Sidecar_To_Children *EdgeURL
Taken_At_Timestamp int64
Edge_Media_To_Parent_Comment EdgeText
}
func NewGraphMedia ¶ added in v1.46.6
func NewGraphMedia(shortcode string) (*GraphMedia, error)
func (GraphMedia) String ¶ added in v1.47.6
func (g GraphMedia) String() string
func (GraphMedia) URLs ¶ added in v1.46.6
func (g GraphMedia) URLs() []string
type ImageVersion ¶ added in v1.49.2
type Item ¶ added in v1.32.1
type Item struct {
Caption struct {
Text string
}
User struct {
Username string
}
Video_DASH_Manifest string
Image_Versions2 ImageVersion
Video_Versions []VideoVersion
Carousel_Media []struct {
Video_DASH_Manifest string
Image_Versions2 ImageVersion
Video_Versions []VideoVersion
}
Taken_At int64
}
type User ¶ added in v1.47.5
type UserAgent ¶ added in v1.46.3
type UserAgent struct {
API int64
Brand string
Density string
Device string
Instagram string
Model string
Platform string
Release int64
Resolution string
}
I noticed that even with the posts that have `video_dash_manifest`, you have to request with a correct User-Agent. If you use wrong agent, you will get a normal response, but the `video_dash_manifest` will be missing.
Click to show internal directories.
Click to hide internal directories.