mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-12 01:45:57 -05:00
Instagram API is unaccessible on many instances #317
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 @lpwyz on GitHub (Jun 15, 2024).
Hello, we are unable to obtain the video link for Instagram
For example:
https://www.instagram.com/reel/C8N7FIHuENX/?igsh=Znk2azI2MHJwNnk0
https://www.instagram.com/reel/C4vRLDmrbqq/?igsh=OWxqOXE5NTBvNGp2
https://www.instagram.com/reel/C7HaVTsOxPp/?igsh=MWU0dWEzdDFzZmw2NA==
@prabeshAryal commented on GitHub (Jun 19, 2024):
I am not sure, but what my initial guess for your problem is server and location. Instagram cleverly started restricting content based on location. Like being in Europe, i was not able to download the contents from URL, it showed as
INVALID URL HASHalthough it was correct. I was geo restricted.So, i shifted my server to San Francisco ultimately everything was working fine as hell.
@ihatespawn commented on GitHub (Jun 27, 2024):
affects instances with a lot of users or datacenter ips, try another instance
https://instances.hyper.lol/
@wukko commented on GitHub (Jun 27, 2024):
it affects all instances with big enough traffic (and especially those with datacenter ips)
@ihatespawn commented on GitHub (Jun 27, 2024):
i didn't test every instance, just some
i also updated the message
@wukko commented on GitHub (Jun 27, 2024):
please don't reply with unproven assumptions next time
@ihatespawn commented on GitHub (Jun 27, 2024):
okay, i just didn't know. i'll be sure to not make that mistake next time
@wukko commented on GitHub (Jun 27, 2024):
it's ok :3
@tediorelee commented on GitHub (Jun 28, 2024):
Hi, about the ig download issue, is there any fix?
I tried to deploy cobalt api and web on my local NAS and fill the cookies.json file but X(twitter) and Instagram still getting "couldn't find any media content" or "content may be region restricted" errors
@wukko commented on GitHub (Jun 28, 2024):
twitter only works for video in case you're trying to download images. you can save images from the app, this functionality isn't needed in cobalt.
there's currently no clear fix for instagram :(
@tediorelee commented on GitHub (Jun 28, 2024):
Understood, download x videos with cobalt works fine and I didn't know it only meant for videos...
@wukko commented on GitHub (Jul 20, 2024):
main instance has been mostly fine lately, we cannot do anything more to increase availability at the moment. we've implemented (essentially) all possible ways of getting post info from instagram.
i recommend adding more dummy accounts or changing server IP addresses to ones that aren't blocked by instagram.