ShareShortcuts

Lucky instaSAVER

lucky135
Fork “Lucky instaSAVER”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so lucky135 gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
35K
Saved
1
Actions
412
Category
Social Network
Version
1.61
Language
EN

Preview

For contact

This shortcut works to download insta photos, videos, stories, and reels!

Watch full method video

Contact me on instagram

Required App

You no need to login your orignal account if u think scriptable use your creditionals .Create a new account and its only one time .

This shortcut works on photos, videos, stories, and reels!

NOTE: iCloud Drive is required for this shortcut to work


NOTE: as of version 1.61, this shortcut requires the Scriptable app to be installed. Do not change the name of the shortcut from "Lucky instaSaver" otherwise the setup may not work properly

Test Script for Scriptable (may be needed)

If you run into an error that mentions an object is null or cannot be found, you should run a script to ensure that the app is working properly. An example script can be copied from this location and pasted into a new script in the scriptable app.

After you run it, the app should then work without issue to help in downloading Instagram media via the shortcut. The reason that Scriptable is needed / used now is due to the ability to store user cookies between sessions in the app. This is the reason for being able to download public and private media via the new methods implemented in the shortcut and also reason the shortcut has been reduced in action count.


Getting Started

Upon first running of the shortcut, you will he asked to choose which storage location you'd like media saved ("iCloud Drive", "Photos", or "Don't Store, Share Only").

If you choose "iCloud Drive", photos and the will be saved to the Shortcuts/Instagram Media Saver folder. You'll be asked if you want to copy the post text to the clipboard and if you want to save the post text.

If you choose "Photos", you will get a prompt to copy post text to clipboard.

If you choose "Don't Store, Share Only", you will be provided with a share sheet to share the photos to the standard share sheet options. You can also choose "Save Images" from there as well.

What's New

Version 1.61

Upload Full method Video

Version History
1.61 May 2, 2023

Upload Full method Video

1.0 May 1, 2023

First release

What it does

412 actions
  1. Set Variable
    Input
  2. Comment
    First check if user is signed into Instagram within Scriptable app
  3. Run Script Inline
    dk.simonbs.Scriptable
  4. Get Dictionary Value
  5. If
  6. Comment
    User is not logged in, trying to get the user to login now...
  7. Show Alert
    LOGIN TO INSTAGRAM
  8. Run Script Inline
    dk.simonbs.Scriptable
  9. Stop This Shortcut
  10. Dictionary
  11. Set Variable
    Dict
  12. Set Variable
    SName
  13. Comment
    1.61 - add conditions for media id not matching 1.60 - Remove debugging step 1.59 - Fix for caption grabbing / saving 1.58 - Fix for when media doesn't have a caption and error appears 1.57 - Fix for Caption grabbing 1.56 - Fix for constant rollback…
  14. List
  15. Set Variable
    Yes No
  16. Number
  17. Set Variable
    1
  18. Create Folder
  19. Get File
  20. If
  21. List
  22. Text
  23. Choose from List
  24. Dictionary
  25. Save File
  26. Set Variable
    Settings
  27. Set Variable
    InitialSettings
  28. Text
  29. Set Variable
    StorageLoc
  30. Comment
    Update Check 🔽🔽🔽
  31. Get Contents of URL
    https://file.ranksapk.com/Lucky-Instasaver.txt
  32. If
  33. Text
  34. URL
    data:text/html,…
  35. Get Contents of Web Page
  36. If
  37. If
  38. Text
  39. If
  40. Text
  41. Quick Look
  42. List
  43. Choose from List
  44. If
  45. Open URLs
  46. Stop and Output
  47. Comment
    Update check 🔼🔼🔼
  48. If
  49. Dictionary
  50. Set Variable
    switches
  51. If
  52. Set Variable
    on-or-off
  53. If
  54. Text
  55. If
  56. Text
  57. If
  58. Nothing
  59. Text
  60. Set Name
  61. Text
  62. Choose from List
  63. If
  64. If
  65. Set Dictionary Value
  66. If
  67. Set Dictionary Value
  68. Save File
  69. Run Shortcut
  70. Stop This Shortcut
  71. Nothing
  72. If
  73. Ask for Input
    What username to check follower stats for?
  74. Set Variable
    Username
  75. Get Contents of URL
    https://I.Instagram.com/api/v1/users/web_profile_info/?username=…
  76. Set Variable
    max id
  77. Number
  78. Set Variable
    maxed
  79. Repeat
  80. If
  81. Get Contents of URL
    https://i.instagram.com/api/v1/friendships/…/followers/?count=1000&max_id=…
  82. If
  83. Set Variable
    maxed
  84. If
  85. Set Variable
    max id
  86. Match Text
  87. Quick Look
  88. Combine Text
  89. Text
  90. Get File
  91. If
  92. Replace Text
  93. Replace Text
  94. Replace Text
  95. Count
  96. Count
  97. Save File
  98. Text
  99. Quick Look
  100. Show Alert
  101. If
  102. Get File
  103. If
  104. If
  105. Get Contents of Folder
  106. Filter Files
  107. If
  108. If
  109. Get File
  110. If
  111. Delete Files
  112. Stop This Shortcut
  113. Get File
  114. If
  115. Set Variable
    File
  116. Count
  117. If
  118. Text
  119. Choose from Menu
    …
  120. Choose from Menu
    Yes
  121. Split Text
  122. Count
  123. Text
  124. List
  125. Choose from List
  126. If
  127. Get Variable
  128. If
  129. If
  130. Ask for Input
    What index should be the start? (Total:…)
  131. Ask for Input
    What index should be the finish? (Start:…; Total:…)
  132. Get Item from List
  133. Repeat with Each
  134. Run Shortcut
  135. Replace Text
  136. Set Variable
    File
  137. Save File
  138. Choose from List
  139. If
  140. Get File
  141. Delete Files
  142. Stop This Shortcut
  143. Choose from Menu
    No
  144. Set Variable
    AutoModeSkip
  145. Get Clipboard
  146. If
  147. Get Variable
  148. Get File
  149. If
  150. If
  151. Set Variable
    AutoMode
  152. Get URLs from Input
  153. Set Variable
    InputURL
  154. If
  155. Show Alert
    …
  156. Stop This Shortcut
  157. If
  158. Match Text
  159. If
  160. Set Variable
    NormalMode
  161. Get Contents of URL
    …
  162. Make HTML from Rich Text
  163. If
  164. Comment
    Try matching the html for: (?<=media\?id\=).*?(?=\") (?<=media_id\"\:\").*?(?=\")
  165. Match Text
  166. Get Item from List
  167. If
  168. Match Text
  169. Get Item from List
  170. If
  171. Show Alert
  172. Stop This Shortcut
  173. Get Contents of URL
    https://i.instagram.com/api/v1/media/…/info
  174. Comment
    Output of the Get Contents of URL action above is the JSON from API response
  175. Get Dictionary from Input
  176. Set Variable
    PageJSON
  177. Comment
    Get the media type 1 = image / photo 2 = reel / video 8 = mix of photo and video
  178. Get Dictionary Value
  179. Comment
    Get username 🔽🔽🔽
  180. Get Dictionary Value
  181. Text
  182. Set Variable
    Username
  183. Comment
    Get username 🔼🔼🔼 Get photos and videos links 🔽
  184. If
  185. Get Dictionary Value
  186. If
  187. Add to Variable
  188. If
  189. If
  190. Repeat with Each
  191. If
  192. Add to Variable
  193. If
  194. Add to Variable
  195. If
  196. Add to Variable
  197. Comment
    Get photos and videos links 🔼🔼🔼
  198. Comment
    Get caption 🔽🔽🔽
  199. Nothing
  200. Get Dictionary Value

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by lucky135

See All

You Might Also Like

See All
Advertisement