fix instagram 429 error

This commit is contained in:
stefanodvx 2025-04-15 19:31:30 +02:00
parent eb30f85846
commit c6cb552dc8

View file

@ -119,10 +119,12 @@ func MediaListFromAPI(
}
var caption string
if !stories {
caption, err = GetPostCaption(postURL)
if err != nil {
return nil, fmt.Errorf("failed to get caption: %w", err)
}
// caption, err = GetPostCaption(postURL)
// if err != nil {
// return nil, fmt.Errorf("failed to get caption: %w", err)
// }
// todo: fix this (429 error)
}
for _, item := range details.Items {
media := ctx.Extractor.NewMedia(