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 GraphMedia ¶ added in v1.46.6
type GraphMedia struct { Display_URL string Edge_Media_To_Caption struct { Edges []struct { Node struct { Text string } } } Edge_Sidecar_To_Children struct { Edges []struct { Node struct { Display_URL string Video_URL string } } } Owner struct { Username string } Video_URL string }
func NewGraphMedia ¶ added in v1.46.6
func NewGraphMedia(shortcode string) (*GraphMedia, error)
Anonymous request
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 Item ¶ added in v1.32.1
type Media ¶ added in v1.31.9
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.