Wikidepia / InstaFix

Fix Instagram embeds in Discord (and Telegram!)
MIT License
532 stars 29 forks source link

Video embeds not working Discord #67

Open AEtherPi opened 5 months ago

AEtherPi commented 5 months ago

It only shows the preview image, even when enlarged. image

danvayn commented 5 months ago

Might be specifically a reels issue, I have the same issue with my reel link.

shelbyKiraM commented 5 months ago

I know youtube-dl has been having issues getting reel URLs for me a couple/few weeks? I can right-click, Copy Video Address from vid in Safari on macOS using the Baking Soda plugin tho… Lé sigh. Meta tryin' to be smart is making us NORMAL NERDS sadge.

styledliving commented 5 months ago

i noticed this one doesn't even load up.

(https://www.instagram.com/reel/C14fSnbL9Ax/

GeorgeWL commented 4 months ago

I only just started seeing this issue, was fine earlier in the week.

Ah example link https://www.ddinstagram.com/reel/C3-9hPNIUzS/?igsh=

barraIhsan commented 3 months ago

It's all now working guys, the link given by the OP is also worked

rnnc commented 3 months ago

doesnt work, the following video isn't loading

https://www.instagram.com/p/C1cKtgZtWaV/

NicoTheCinderace commented 3 months ago

It's all now working guys, the link given by the OP is also worked

Nope.

Wikidepia commented 3 months ago

InstaFix get the video URL from Instagram embed, sometimes they are blocked by Instagram, for example:

There is no bypass for this except to create a dummy account and scrape from it, but it will be easily blocked by IG and hard to maintain

barraIhsan commented 3 months ago

InstaFix get the video URL from Instagram embed, sometimes they are blocked by Instagram, for example:

* https://www.instagram.com/p/C1cKtgZtWaV/embed/captioned, when the post is blocked you cant play this link from your browser, and only shows its thumbnail and "Watch on Instagram"

There is no bypass for this except to create a dummy account and scrape from it, but it will be easily blocked by IG and hard to maintain

hmm this one right here, image is showing the video on discord embed, but if we open the embed caption on the browser, it shows "Watch on Instagram" too

Wikidepia commented 2 months ago

is showing the video on discord embed, but if we open the embed caption on the browser, it shows "Watch on Instagram" too

There is other method used by InstaFix, sometimes IG does not block scraping directly from their graphql API (https://github.com/Wikidepia/InstaFix/blob/87e06bd9bfcf7b0df4760b8ad7b4eb6743684dfe/handlers/data/data.go#L324-L326). Scraping in general is very fragile and IG frequently change their anti bot stuff

barraIhsan commented 2 months ago

yeah, https://ddinstagram.com/reel/C50Yr1MRtXh/ this one didn't embed the video Screenshot_2024-04-18-19-39-57-819_com.discord.png

(because I want to share it with my friend) I tried downloading it with cobalt.tools and it also didn't work Screenshot_2024-04-18-19-43-56-355_org.mozilla.firefox_beta.png

but using yt-dlp works fine tho.... Screenshot_2024-04-18-19-45-47-041_com.junkfood.seal.png

(I'm using one of the yt-dlp wrapper on android, Seal)

barraIhsan commented 2 months ago

It seems that most of the links that were "broken" before, will fix themselves if you wait long enough.

for example, the reels I sent 3d ago are now embedding properly image

edit:

InstaFix get the video URL from Instagram embed, sometimes they are blocked by Instagram,

oh, that's why you said "sometimes"

GeorgeWL commented 1 month ago

https://github.com/Wikidepia/InstaFix/issues/82#issuecomment-2142535246