Comments (5)
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
from cobalt.
only affects the main instance, try another instance
https://instances.hyper.lol/
from cobalt.
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
from cobalt.
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
from cobalt.
duplicate of #572
from cobalt.
Related Issues (20)
- package.json links a git:// dependency that can't be used without authentication HOT 3
- add support for [Redbull.com]
- add support for downloading youtube community posts
- Embed into supported websites for quick downloading HOT 2
- bilibili is not working HOT 1
- bilibili is not working HOT 7
- Cookies & oAuth Error HOT 13
- twitter age restricted video test fails because account is private HOT 1
- cookie.json is not working HOT 3
- Resolving YouTube Video Download Errors in Cobalt: Account Cookie Required? HOT 4
- How to save to disk without streaming. HOT 1
- Getting 403 when downloading video using python HOT 1
- Help How to generate cookie.json file for youtube? HOT 2
- Unknown shortcut doesnโt work due to outdated API HOT 2
- add support for youtube clips HOT 2
- Can't connect to service api when attempting to download a video from YouTube HOT 4
- Enable downloading videos over 180 minutes on main instance HOT 2
- Could you tell me how to run "npm run token:youtube", Pls? HOT 3
- Does not support douyin.com download? HOT 1
- [short feature request description]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobalt.