Originally created by @aimen08 on GitHub (Jun 20, 2024).
bug description
Instagram download is down.
reproduction steps
steps to reproduce the behavior:
download any video from Instagram
screenshots
platform
website
self-hosting
Originally created by @aimen08 on GitHub (Jun 20, 2024).
**bug description**
Instagram download is down.
**reproduction steps**
steps to reproduce the behavior:
1. download any video from Instagram
**screenshots**
<img width="1174" alt="image" src="https://github.com/imputnet/cobalt/assets/32209952/a672ed07-680f-4f7a-a9b4-5e0fb1b58ccd">
**platform**
- website
- self-hosting
nope, it's a global issue that affects all instances with either big enough traffic or datacenter ips. it's an unfixable issue atm
@wukko commented on GitHub (Jun 27, 2024):
> only affects the main instance
nope, it's a global issue that affects **all** instances with either big enough traffic or datacenter ips. it's an unfixable issue atm
Hey @wukko i want to help fix this issue , just before i start i'm studying the code of Instagram module, this is how it's setup right ?
graph TD
A[Start: Module called with object] --> B{Check input}
B -->|postId present| C[Call getPost]
B -->|username and storyId present| D[Call getStory]
B -->|Neither condition met| E[Return ErrorUnsupported]
C --> F[Attempt to fetch post data]
F --> G{Data fetched successfully?}
G -->|Yes| H[Extract post data]
G -->|No| I[Return ErrorCouldntFetch]
H --> J[Return post data]
D --> K[Convert username to userId]
K --> L[Fetch story data]
L --> M{Story data found?}
M -->|Yes| N[Extract story data]
M -->|No| O[Return ErrorEmptyDownload]
N --> P[Return story data]
subgraph "getPost function"
F --> F1[Try mobile API with token]
F1 --> F2[Try mobile API without token]
F2 --> F3[Try HTML embed]
F3 --> F4[Try web app GraphQL API]
end
subgraph "Data extraction"
H --> H1{Is it an old or new post format?}
H1 -->|Old| H2[Extract using extractOldPost]
H1 -->|New| H3[Extract using extractNewPost]
end
Ps : i'm seeing few telegram bots that are able to download from instagram , so i think we might be missing something
@aimen08 commented on GitHub (Jun 27, 2024):
Hey @wukko i want to help fix this issue , just before i start i'm studying the code of Instagram module, this is how it's setup right ?
```mermaid
graph TD
A[Start: Module called with object] --> B{Check input}
B -->|postId present| C[Call getPost]
B -->|username and storyId present| D[Call getStory]
B -->|Neither condition met| E[Return ErrorUnsupported]
C --> F[Attempt to fetch post data]
F --> G{Data fetched successfully?}
G -->|Yes| H[Extract post data]
G -->|No| I[Return ErrorCouldntFetch]
H --> J[Return post data]
D --> K[Convert username to userId]
K --> L[Fetch story data]
L --> M{Story data found?}
M -->|Yes| N[Extract story data]
M -->|No| O[Return ErrorEmptyDownload]
N --> P[Return story data]
subgraph "getPost function"
F --> F1[Try mobile API with token]
F1 --> F2[Try mobile API without token]
F2 --> F3[Try HTML embed]
F3 --> F4[Try web app GraphQL API]
end
subgraph "Data extraction"
H --> H1{Is it an old or new post format?}
H1 -->|Old| H2[Extract using extractOldPost]
H1 -->|New| H3[Extract using extractNewPost]
end
```
Ps : i'm seeing few telegram bots that are able to download from instagram , so i think we might be missing something
i want to help fix this issue , just before i start i'm studying the code of Instagram module, this is how it's setup right ?
@aimen08 looks about right to me, except "Return post data" comes after extractOld/NewPost
@dumbmoron commented on GitHub (Jun 27, 2024):
> i want to help fix this issue , just before i start i'm studying the code of Instagram module, this is how it's setup right ?
@aimen08 looks about right to me, except "Return post data" comes after extractOld/NewPost
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 @aimen08 on GitHub (Jun 20, 2024).
bug description
Instagram download is down.
reproduction steps
steps to reproduce the behavior:
screenshots

platform
@ihatespawn commented on GitHub (Jun 27, 2024):
only affects the main instance, try another instance
https://instances.hyper.lol/
@wukko commented on GitHub (Jun 27, 2024):
nope, it's a global issue that affects all instances with either big enough traffic or datacenter ips. it's an unfixable issue atm
@aimen08 commented on GitHub (Jun 27, 2024):
Hey @wukko i want to help fix this issue , just before i start i'm studying the code of Instagram module, this is how it's setup right ?
Ps : i'm seeing few telegram bots that are able to download from instagram , so i think we might be missing something
@dumbmoron commented on GitHub (Jun 27, 2024):
@aimen08 looks about right to me, except "Return post data" comes after extractOld/NewPost
@wukko commented on GitHub (Jun 29, 2024):
duplicate of #572