fix instagram 429 error
This commit is contained in:
parent
eb30f85846
commit
c6cb552dc8
1 changed files with 6 additions and 4 deletions
|
@ -119,10 +119,12 @@ func MediaListFromAPI(
|
||||||
}
|
}
|
||||||
var caption string
|
var caption string
|
||||||
if !stories {
|
if !stories {
|
||||||
caption, err = GetPostCaption(postURL)
|
// caption, err = GetPostCaption(postURL)
|
||||||
if err != nil {
|
// if err != nil {
|
||||||
return nil, fmt.Errorf("failed to get caption: %w", err)
|
// return nil, fmt.Errorf("failed to get caption: %w", err)
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
// todo: fix this (429 error)
|
||||||
}
|
}
|
||||||
for _, item := range details.Items {
|
for _, item := range details.Items {
|
||||||
media := ctx.Extractor.NewMedia(
|
media := ctx.Extractor.NewMedia(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue