mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-23 06:41:22 -05:00
[GH-ISSUE #1083] Single-image Instagram posts cause an error #9542
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tabatkins on GitHub (Jan 30, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1083
bug description
When an Instagram post contains only a single image, Cobalt is unable to fetch it, returning the error message "something went wrong when fetching info from instagram and i couldn't get anything for you. if this issue sticks, please report it!"
Examples of problematic posts that contain only one picture:
This works, because it's multiple pictures:
This works, because while it only has one picture it also contains a video:
This also works (only one item, but it's a video):
The single-picture posts work in other Instagram image downloaders, so I imagine it's just a variation in how they format the API response when it's a single image, and cobalt doesn't quite expect the formatting.
reproduction steps
screenshots
No response
links
platform information
Android 15, on Pixel 9 Pro
additional context
No response
@catdevnull commented on GitHub (Jan 31, 2025):
another case: https://www.instagram.com/p/DFXdm4xtsMS/
also happens in selfhosted
can still load in incognito