[GH-ISSUE #1046] Instagram pages generate an error #11975

Closed
opened 2026-05-08 08:09:34 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @javiersempere on GitHub (Jan 11, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1046

bug description

Cannot fetch page from Instagram

reproduction steps

  1. go to https://www.instagram.com/p/B_Exth0JxcG/
  2. click go >>
  3. Get error fetching from Instagram

screenshots

Captura de pantalla 2025-01-11 145336

No response

platform information

chrome on Windows

additional context

No response

Originally created by @javiersempere on GitHub (Jan 11, 2025). Original GitHub issue: https://github.com/imputnet/cobalt/issues/1046 ### bug description Cannot fetch page from Instagram ### reproduction steps 1. go to https://www.instagram.com/p/B_Exth0JxcG/ 2. click go >> 3. Get error fetching from Instagram ### screenshots ![Captura de pantalla 2025-01-11 145336](https://github.com/user-attachments/assets/908a5571-c8b4-477b-b895-12cd9aeaa29a) ### links _No response_ ### platform information chrome on Windows ### additional context _No response_
GiteaMirror added the bug label 2026-05-08 08:09:34 -05:00
Author
Owner

@sertraline commented on GitHub (Jan 15, 2025):

You need to pass cookies.

<!-- gh-comment-id:2593442597 --> @sertraline commented on GitHub (Jan 15, 2025): You need to pass cookies.
Author
Owner

@javiersempere commented on GitHub (Jan 15, 2025):

How?

<!-- gh-comment-id:2593472449 --> @javiersempere commented on GitHub (Jan 15, 2025): How?
Author
Owner

@bailsafe commented on GitHub (Jan 15, 2025):

Instagram image posts seem to work fine with multi-image gallery posts, but not single-image posts. (Both examples below from the same account)

Gallery post:
image

Single-image post:
image

<!-- gh-comment-id:2593562834 --> @bailsafe commented on GitHub (Jan 15, 2025): Instagram image posts seem to work fine with multi-image gallery posts, but not single-image posts. (Both examples below from the same account) Gallery post: <img width="679" alt="image" src="https://github.com/user-attachments/assets/48d0b1e5-1464-4225-a124-853559d9605d" /> Single-image post: <img width="679" alt="image" src="https://github.com/user-attachments/assets/f5681a74-5748-4a13-9936-1059b514ce1e" />
Author
Owner

@smhguard commented on GitHub (Jan 28, 2025):

  1. go to https://www.instagram.com/p/B_Exth0JxcG/

You only need to pass the cookies for it to retrieve the content without any issues.

I was able to download all content from Instagram using my custom model by inputting new cookies.

Instagram image posts seem to work fine with multi-image gallery posts, but not single-image posts. (Both examples below from the same account)

Single-image and multi-image posts are retrieved without any issues.

Here are a few examples:

Image

Image

<!-- gh-comment-id:2620063644 --> @smhguard commented on GitHub (Jan 28, 2025): > 1. go to https://www.instagram.com/p/B_Exth0JxcG/ You only need to pass the cookies for it to retrieve the content without any issues. I was able to download all content from Instagram using my custom model by inputting new cookies. > Instagram image posts seem to work fine with multi-image gallery posts, but not single-image posts. (Both examples below from the same account) Single-image and multi-image posts are retrieved without any issues. Here are a few examples: ![Image](https://github.com/user-attachments/assets/521077c7-54cc-4284-9ea2-147385c4cc45) ![Image](https://github.com/user-attachments/assets/97ab3e62-0146-4f7a-89cc-52702a5fdc6b)
Sign in to join this conversation.