Login About Gallery
Instagram Media Saver
Accepts
URLs
VARIABLES
Set variable
Input
to
Shortcut Input
COMMENT
First check if user is signed into Instagram within Scriptable app
Under Construction
SCRIPTING
Get
Value
for
loggedIn
in
Output
SCRIPTING
If
Dictionary Value
is
false
COMMENT
User is not logged in, trying to get the user to login now...
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
Under Construction
SCRIPTING
Exit shortcut with
Result
End If
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
VARIABLES
Set variable
Dict
to
MainDict
VARIABLES
Set variable
SName
to
Dict
COMMENT
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 message 1.55 - Revamp for instagram code changes and now urilizing scriptable to maintain cookies and login presence. - Private items can now download without safari usage (except for private story) - Removed periodic update check to reduce unnecessary actions now that update checks are almost instantaneous - Remove input type checks as no longer needed
LIST
Yes
No
VARIABLES
Set variable
Yes No
to
List
NUMBER
1
VARIABLES
Set variable
1
to
Number
DOCUMENTS
Create Folder
Service
iCloud Drive
Path
/Shortcuts/
SName
DOCUMENTS
Get File
Service
iCloud Drive
Show Document Picker
File Path
/Shortcuts/example.txt
Error If Not Found
SCRIPTING
If
File
does not have any value
LIST
iCloud Drive
Photos App
Don't Store, Share Only!
TEXT
Where do you want your media stored? This setting is saved for future runs. To reset, delete the file "settings.json" at: iCloud Drive/Shortcuts/
SName
This can also be done from the main menu
SCRIPTING
Choose from
List
Prompt
Select Multiple
DICTIONARY
<inline variable>
<inline variable>
Current Date
<inline variable>
Dict
DOCUMENTS
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/
SName
/settings.json
Overwrite If File Exists
End If
VARIABLES
Set variable
Settings
to
If Result
VARIABLES
Set variable
InitialSettings
to
Settings
TEXT
Settings
VARIABLES
Set variable
StorageLoc
to
Text
COMMENT
Update Check 🔽🔽🔽
NETWORK
Get contents of
https://raw.githubusercontent.com/mvan231/Shortcuts/main/InstagramMediaSaver.json
Options Under Construction
SCRIPTING
If
Server
contains
success
TEXT
<html><head></head><body><script> // Swing Engine 1.2.2 // © D3W10 - 𝗗𝗼𝗻'𝘁 𝗰𝗼𝗽𝘆 𝘁𝗵𝗶𝘀 𝗰𝗼𝗱𝗲 𝘄𝗶𝘁𝗵𝗼𝘂𝘁 𝗽𝗲𝗿𝗺𝗶𝘀𝘀𝗶𝗼𝗻. function sue (a, b) { let pa = a.split('.'); let pb = b.split('.'); for (let i = 0; i < Math.max(pa.length, pb.length); i++) { let na = Number(pa[i]); let nb = Number(pb[i]); if (isNaN(na)) na = 0; if (isNaN(nb)) nb = 0; if (na > nb) return "Rollback"; if (nb > na) return "Update"; } if (a != b) return "Update"; return "Updated"; }; let data = {"current":"
Dict
","new":"
Server
"}; document.write(sue(data.current, data.new)); </script></body></html>
URL
data:text/html,
Engine Code
SAFARI
Get contents of web page at
URL
SCRIPTING
If
EngineResult
does not contain
Updated
SCRIPTING
If
EngineResult
is
Update
TEXT
⬆️ 𝗨𝗽𝗱𝗮𝘁𝗲 ⬆️ An update is available for
Server
, here are some information about it: 𝗡𝗮𝗺𝗲:
SName
𝗜𝗻𝘀𝘁𝗮𝗹𝗹𝗲𝗱 𝗩𝗲𝗿𝘀𝗶𝗼𝗻:
SName
𝗥𝗲𝗰𝗲𝗻𝘁 𝗩𝗲𝗿𝘀𝗶𝗼𝗻:
Dict
𝗥𝗲𝗹𝗲𝗮𝘀𝗲 𝗗𝗮𝘁𝗲:
Server
𝗖𝗵𝗮𝗻𝗴𝗲𝘀:
Server
𝗨𝗽𝗱𝗮𝘁𝗲 𝗰𝗵𝗲𝗰𝗸𝗶𝗻𝗴 𝘂𝘀𝗶𝗻𝗴 𝖲𝗐𝗂𝗇𝗀 𝖴𝗉𝖽𝖺𝗍𝖾𝗋 🄴
Otherwise
TEXT
⬇️ 𝗥𝗼𝗹𝗹𝗯𝗮𝗰𝗸 ⬇️ A rollback is available for
Dict
, probably because the owner of this shortcut changed the version numbers, 𝗶𝘁'𝘀 𝘃𝗲𝗿𝘆 𝗿𝗲𝗰𝗼𝗺𝗺𝗲𝗻𝗱𝗲𝗱 𝘁𝗼 𝗱𝗼 𝘁𝗵𝗶𝘀 𝗿𝗼𝗹𝗹𝗯𝗮𝗰𝗸! 𝗡𝗮𝗺𝗲:
SName
𝗜𝗻𝘀𝘁𝗮𝗹𝗹𝗲𝗱 𝗩𝗲𝗿𝘀𝗶𝗼𝗻:
SName
𝗥𝗲𝗰𝗲𝗻𝘁 𝗩𝗲𝗿𝘀𝗶𝗼𝗻:
Server
𝗥𝗲𝗹𝗲𝗮𝘀𝗲 𝗗𝗮𝘁𝗲:
Server
𝗖𝗵𝗮𝗻𝗴𝗲𝘀:
Server
𝗨𝗽𝗱𝗮𝘁𝗲 𝗰𝗵𝗲𝗰𝗸𝗶𝗻𝗴 𝘂𝘀𝗶𝗻𝗴 𝖲𝗐𝗂𝗇𝗀 𝖴𝗉𝖽𝖺𝗍𝖾𝗋 🄴
End If
DOCUMENTS
Show
If Result
in Quick Look
LIST
Not Now
SCRIPTING
Choose from
List
Prompt
What to do?
Select Multiple
DOCUMENTS
Replace
.*com
with
shortcuts:/
in
Server
Case Sensitive
Regular Expression
SAFARI
output Under Construction
End If
End If
End If
COMMENT
Update check 🔼🔼🔼
SCRIPTING
If
Input
does not have any value
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
VARIABLES
Set variable
switches
to
Dictionary
SCRIPTING
If
Settings
contains
showSaveNotifications
VARIABLES
Set variable
on-or-off
to
Settings
SCRIPTING
If
on-or-off
is
Yes
TEXT
BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:Save Notifications On; ORG:; PHOTO;ENCODING=b:
switches
END:VCARD
Otherwise
TEXT
BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:Save Notifications Off; ORG:; PHOTO;ENCODING=b:
switches
END:VCARD
End If
Otherwise
NOTHING
Nothing
End If
TEXT
BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:Run Shortcut (multi-post or from clipboard); ORG:; END:VCARD BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:Reset Settings; ORG:; END:VCARD BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:Delete URLs File (if it exists); ORG:; END:VCARD BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:Delete Downloaded Media (iCloud Drive); ORG:; END:VCARD
If Result
SCRIPTING
Set name of
Text
to
menu.vcf
TEXT
Welcome to
SName
! You didn't share a post to the shortcut, so this menu allows some other features.
SCRIPTING
Choose from
Renamed Item
Prompt
Select Multiple
SCRIPTING
If
Chosen Item
contains
Notifications
SCRIPTING
If
Chosen Item
contains
On
SCRIPTING
Set
showSaveNotifications
to
No
in
Dictionary
Otherwise
SCRIPTING
Set
showSaveNotifications
to
Yes
in
Dictionary
End If
DOCUMENTS
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/
SName
/settings.json
Overwrite If File Exists
SHORTCUTS
Run
SName
Input
Choose Variable
Show While Running
SCRIPTING
Exit shortcut with
Result
End If
NOTHING
Nothing
SCRIPTING
If
Chosen Item
contains
Delete URLs
DOCUMENTS
Get File
Service
iCloud Drive
Show Document Picker
File Path
/Shortcuts/example.txt
Error If Not Found
Otherwise
SCRIPTING
If
Chosen Item
contains
Delete Downloaded Media
file.getfoldercontents Under Construction
FILES
Name
is not
settings
Sort by
None
Limit
Otherwise
SCRIPTING
If
Chosen Item
contains
Reset Settings
DOCUMENTS
Get File
Service
iCloud Drive
Show Document Picker
File Path
/Shortcuts/example.txt
Error If Not Found
End If
End If
End If
SCRIPTING
If
If Result
has any value
DOCUMENTS
Confirm Before Deleting
SCRIPTING
Exit shortcut with
Result
End If
DOCUMENTS
Get File
Service
iCloud Drive
Show Document Picker
File Path
/Shortcuts/example.txt
Error If Not Found
SCRIPTING
If
File
has any value

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 14 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

360 more actions