Escaneie com o iPhone para instalar
Download any type of instagram media
Novidades
Versão 1.0
First release
O que ele faz
33 ações-
CommentDownload Instagram Version: 1.2 ~•~•~•~•~•~•~•~•~•~•~•~•~ - Autor: @Pola219
-
CommentDownload photos and videos from posts or stories. Works with app and Safari, on iPhone and iPad.
-
Comment~•~•~•~•~•~•~•~•~•~•~•~•~ ⬇️ Start Of Check Update ⬇️
-
Text
-
Get Contents of URLhttps://updatekit.mikebeas.com/v1
-
Get Dictionary from Input
-
Set VariableData
-
Get Dictionary Value
-
If
-
Text
-
Choose from Menu…
-
Choose from MenuUpdate
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuSkip
-
Comment~•~•~•~•~•~•~•~•~•~•~•~•~ ⬆️ End Of Update Check ⬆️
-
CommentDownload photos and videos from posts or stories. Works with app and Safari, on iPhone and iPad.
-
If
-
URLhttps://
-
Get Type
-
Get Type
-
If
-
Replace Text
-
URL
-
If
-
Run JavaScript on Web Page
-
Get Contents of URLhttps://savegram.app/api/ajaxSearch
-
Dictionary
-
Base64 Encode
-
URL Encode
-
URLdata:text/html;base64,…
-
Open URLs
-
Stop This Shortcut
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#include 'actions/web'
#define color red
#define glyph dramaMask
/*
Download Instagram
Version: 1.2
~•~•~•~•~•~•~•~•~•~•~•~•~
- Autor: @Pola219
*/
// Download photos and videos from posts or stories. Works with app and Safari, on iPhone and iPad.
/*
~•~•~•~•~•~•~•~•~•~•~•~•~
⬇️ Start Of Check Update ⬇️
*/
const ContentsOfURL = jsonRequest("https://updatekit.mikebeas.com/v1", "POST", {
"shortcut": {
"id": "20805",
"module": "routinehub",
"version": "{}"
}
})
getDictionary(ContentsOfURL)
@Data
const DictionaryValue = getValue(@Data, "update")
if DictionaryValue == {
menu {
item "Update":
openURL(@Data)
stop()
item "Skip":
}
}
/*
~•~•~•~•~•~•~•~•~•~•~•~•~
⬆️ End Of Update Check ⬆️
*/
// Download photos and videos from posts or stories. Works with app and Safari, on iPhone and iPad.
if ShortcutInput {
const URL = url("https://")
const URLType = typeOf(URL)
const Type = typeOf(ShortcutInput)
if Type == URLType {
const UpdatedText = replaceText("\?.*$", "?__a=1", ShortcutInput, true)
const URL1 = url(UpdatedText)
if URL1 {
const html = runJavaScriptOnWebpage("const myHeaders = new Headers();\nmyHeaders.append(\"User-Agent\", \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36\");\n\nconst requestOptions = {\n method: \"GET\",\n headers: myHeaders,\n redirect: \"follow\"\n};\n\nfetch(\"{URL1}\", requestOptions)\n .then((response) => response.text())\n .then((result) => completion(result))\n .catch((error) => completion(error));")
formRequest("https://savegram.app/api/ajaxSearch", "POST", {
"html": "{html}",
"lang": "en",
"q": "{ShortcutInput}",
"t": "media"
}, {
"Cookie": "_ga=GA1.1.1020413314.1710559320; fpestid=5iUY1p1SW3uUcoV17Bn6CyjzeCNAyt60cPNvoEfanVOo3ydtyjAz50sz53m6xl5GltwreA; _ga_HYFL742GNR=GS1.1.1710573216.3.1.1710573227.0.0.0",
"Origin": "https://savegram.app",
"Referer": "https://savegram.app/en/instagram-private-download",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
"X-Requested-With": "XMLHttpRequest"
})
const Dictionary = {
"data": {
"html": "\u003chtml lang=\\\"en\\\"\u003e\\n\u003chead\u003e\u003ctitle\u003eDownload Instagram\u003c/title\u003e\u003cmeta charset=\\\"UTF-8\\\"\u003e\u003cmeta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\\\"\u003e\u003cstyle\u003eul.download-box{width:100%;column-width:200px;list-style:none;margin:0;padding:0}ul.download-box img{width:100%;margin-bottom:10px;background-color:#eee;border-radius:.25rem;max-width:100%;height:auto;aspect-ratio:1;object-fit:cover}.download-items__btn a{background:#333;padding:20px 0;margin-bottom:10px;display:block;text-align:center;color:#fff;text-decoration:none;border-radius:10px;font-size:13px;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;color:#fff;background-color:#007bff;border-color:#007bff}.download-items__btn a:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.row.back-home{display:none}body{font-family:-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",Roboto,\\\"Helvetica Neue\\\",Arial,\\\"Noto Sans\\\",\\\"Liberation Sans\\\",sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\",\\\"Segoe UI Symbol\\\",\\\"Noto Color Emoji\\\"}select.minimal{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;margin-bottom:10px}i.icon:before{font-style:normal;font-size:20px;background:rgba(255,255,255,0.7);width:50px;height:50px;display:block;text-align:center;line-height:50px;border-radius:220px}.icon-dlvideo:before{content:\\\"▶️\\\";font-style:normal;font-size:21px;background:#fff;width:50px;height:50px;display:block;text-align:center;line-height:50px;border-radius:220px}.download-items__thumb{position:relative;display:flex;justify-content:center;align-items:center}span.format-icon{position:absolute}.icon-dlimage:before{content:\\\"🏞️\\\"}\u003c/style\u003e\u003c/head\u003e\\n\u003cbody\u003e\\n\u003cscript\u003efunction getPhotoLink(n, t) {\\n var i = t.value;\\n document.getElementById(\\\"photo_dl_\\\" + n).setAttribute(\\\"href\\\", i);\\n}\\n\u003c/script\u003e\\n{['data']}\u003cscript\u003edocument.querySelectorAll('img').forEach(function(img) {\\n img.alt = \\\"SaveGram.App\\\";\\n});\\n\u003c/script\u003e\\n\u003c/body\u003e\u003c/html\u003e"
}
}
base64Encode(Dictionary['data.html'])
urlEncode()
const URL2 = url("data:text/html;base64,{}")
openURL(URL2)
stop()
}
}
}
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de pola
Você também pode gostar
Publicidade