mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-21 14:00:26 -05:00
Unable to download Instagram reels using Cobalt API #72
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 @zymsbgt on GitHub (May 18, 2023).
Video used: https://www.instagram.com/reel/CsMdjLAJ9ZX/?igshid=NTc4MTIwNjQ2YQ==
Resulting text: something went wrong and i couldn't get anything for you. try again, but if issue persists, create an issue on github.
I have tried downloading it 3 times and it has failed on all 3 times
@wukko commented on GitHub (May 18, 2023):
removing tracking info (everything after ?) helps, but cobalt should ignore that, so i'll look into it.
@zymsbgt commented on GitHub (May 19, 2023):
I've implemented that and it helps, thank you!
I am using this project in my own code (https://github.com/zymsbgt/instagram-reel-preview-discord/blob/main/cobalt.py) but in my code the resulting link always leads to downloading a MP3 file when I'm expecting a video from my example link above.
@wukko commented on GitHub (May 19, 2023):
you can remove all params but
urlfrom the request body, try that :Dbtw, all instagram videos are always returned with redirect status (unless you ask cobalt to convert it to audio or mute the video)
@zymsbgt commented on GitHub (May 19, 2023):
It works now, thank you very much!
@wukko commented on GitHub (May 19, 2023):
glad to hear it :)