Replies: 4 comments 10 replies
-
|
i see u fw this project
do they do that regularly/frequently? if you wanna go right ahead with a PR that'd be awesome 🔥 |
Beta Was this translation helpful? Give feedback.
-
|
I am not sleeping tonight. Expect a PR when you wake up. |
Beta Was this translation helpful? Give feedback.
-
I do.
Not sure, probably not daily. I expect atleast 1 month (though I am pulling this out of my a**) |
Beta Was this translation helpful? Give feedback.
-
|
So..... The proto is done but.... it won't work. Sadly, I don't think we can fix this. All browsers support the CORS policies so this will be enforced on any W3C-compatible browser (which includes all of them) demo.mp4We could potentially make a "proxy server" which would stream these files for us, but that would induce too much latency. Please suggest some solution. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What?
If we use instaloader without the args
--no-metadata-json, instaloader will also store a json file with some metadata likedisplay_urlwhich contains the direct links to Instagram's CDN.For example,

This link points to the post's image and can be accessed and streamed directly:

Why bother?
--no-picturesargument would save a lot of storage in the long term. (Repo size has already crossed 550 MBs)How much extra work would it be?
Not much. In terms of changes to the CD pipeline, just changing the args of instaloader would be enough.
For the code, for every post it would have to parse a JSON file to fetch the image URL.
I can create a proto today/tomorrow (if you want).
Potential Caveats
Beta Was this translation helpful? Give feedback.
All reactions