Originally created by @lpwyz on GitHub (Jun 15, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/572
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==
GiteaMirror
added the bug label 2026-04-13 11:42:51 -05:00
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 HASH although it was correct. I was geo restricted.
So, i shifted my server to San Francisco ultimately everything was working fine as hell.
<!-- gh-comment-id:2179028435 -->
@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 HASH `although it was correct. I was geo restricted.
So, i shifted my server to San Francisco ultimately everything was working fine as hell.
<!-- gh-comment-id:2195094416 -->
@ihatespawn commented on GitHub (Jun 27, 2024):
affects instances with a lot of users or datacenter ips, try another instance
https://instances.hyper.lol/
it affects all instances with big enough traffic (and especially those with datacenter ips)
<!-- gh-comment-id:2195096553 -->
@wukko commented on GitHub (Jun 27, 2024):
> only affects the main instance
it affects all instances with big enough traffic (and especially those with datacenter ips)
<!-- gh-comment-id:2195100060 -->
@ihatespawn commented on GitHub (Jun 27, 2024):
> from my testing
i didn't test every instance, just some
i also updated the message
please don't reply with unproven assumptions next time
okay, i just didn't know. i'll be sure to not make that mistake next time
<!-- gh-comment-id:2195110727 -->
@ihatespawn commented on GitHub (Jun 27, 2024):
> please don't reply with unproven assumptions next time
okay, i just didn't know. i'll be sure to not make that mistake next time
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
<!-- gh-comment-id:2196829569 -->
@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
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 :(
<!-- gh-comment-id:2196832677 -->
@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 :(
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 :(
Understood, download x videos with cobalt works fine and I didn't know it only meant for videos...
<!-- gh-comment-id:2196840229 -->
@tediorelee 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 :(
Understood, download x videos with cobalt works fine and I didn't know it only meant for videos...
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.
<!-- gh-comment-id:2241085588 -->
@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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @lpwyz on GitHub (Jun 15, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/572
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.