返回首頁 

Greasy Fork is available in English.

Instagram Downloader

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

ของเมื่อวันที่ 10-12-2021 ดู เวอร์ชันล่าสุด


ติดตั้งสคริปต์นี้?
ผู้เขียน
Lawrence Sim
คะแนน
000
เวอร์ชัน
0.5
สร้างเมื่อ
27-08-2020
อัปเดตเมื่อ
10-12-2021
Size
6.84 กิโลไบต์
สัญญาอนุญาต
WTFPL (http://www.wtfpl.net)
ปรับใช้กับ

Quick 'n dirty little userscript for accessing pictures and videos off of Instagram.

Instructions:Right-click on the image or video to see a context menu for opening the media in isolation in a new tab. Minor caveat for videos, see below.

Downloading videos:Instagram obfuscates videos pretty hard by using an 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'). On the feed, it will only link to the preview image for the video.

Downloading videos 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 view 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.5 : 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.