Direct Picture Link (Instagram)

Direct image links for sites that obfuscate the image from easy downloading.

当前为 2021-12-10 提交的版本,查看 最新版本

作者
Lawrence Sim
评分
0 0 0
版本
0.5
创建于
2020-08-27
更新于
2021-12-10
大小
6.9 KB
许可证
WTFPL (http://www.wtfpl.net)
适用于

Quick 'n dirty little userscript I created to more easily download or share direct links to images and videos on sites that obfuscate them. Link to image is opened via context-menu (right-click usually).

Instructions for downloading videos: Instagram obfuscates videos pretty hard by using ephemeral BLOB URL that it immediately revokes. Long story short, you can only get the link to videos if directly viewing the post (if on feed, on upper right, click expand/menu and 'Go to post').

The script requires a call to retrieve JSON information about the post, for which it requires the post ID. Unfortunately, this isn't easily obtainable in the feed without injecting code into ReactJS, which just doesn't seen feasible at the moment. So it grabs the post ID from the URL, which is only visible when viewing the post directly.

Change log

v0.4 : Dec 10, 2020

  • Videos linked via call to JSON post information. As it requires post ID (not easily obtained in feed), must be viewing specific post.

v0.4 : Dec 8, 2020

  • Fix mixed video/image multi posts.
  • Attempting to fix how videos are downloaded, still working..

v0.3 : Oct 27, 2020

  • Adjust MutationObserver to search in mutations only.

v0.2 : Aug 28, 2020

  • Add support for videos.