Download or View instagram profile picture for any user via profile Link or Username
Features:
- Multi-Language Arabic/English
- Get Profile Picture by URL
- Get Profile Picture by username
- No out source API
- Easy To Use
This shortcut uses Lemon Updater for updates
Neue Funktionen
Version 1.0
First release
Was er macht
47 Aktionen-
Dictionary
-
Text
-
Text
-
If
-
Dictionary
-
If
-
Dictionary
-
Set VariableResources
-
Choose from Menu…
-
Choose from MenuResources (ByClipboard)
-
Get Clipboard
-
URL
-
Set VariableLink
-
Choose from MenuResources (ByUsername)
-
Ask for Input…
-
Set VariableUser
-
URLhttps://www.instagram.com/…
-
Set VariableLink
-
Choose from MenuResources (CheckUpdates)
-
Get My Shortcuts
-
Match Text
-
If
-
Run ShortcutLemon Updater
-
Stop This Shortcut
-
If
-
Show AlertInstaDP
-
Open URLs
-
Stop This Shortcut
-
Show Notification…
-
Make HTML from Rich Text
-
Match Text
-
Match Text
-
Replace Text
-
Replace Text
-
Split Text
-
Get Item from List
-
Set VariableURL
-
Get Contents of URL…
-
Set VariableContents
-
Choose from MenuWhich one do you want?
-
Choose from MenuResources (Download)
-
Save to Photo Album
-
Vibrate Device
-
Show Notification…
-
Choose from MenuResources (View)
-
Vibrate Device
-
Show Result
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#define mac false
#include 'actions/web'
#include 'actions/shortcuts'
#include 'actions/sharing'
#define color violet
#define glyph picture
const Dictionary = {
"Author": "Shortcuts.ink",
"Name": "InstaDP",
"RH ID": "12986",
"Version": "1.0",
"Website": "https://shortcuts.ink"
}
const Text = "1"
if Text == "1" {
} else {
}
@Resources = {
"ByClipboard": "من خلال الرابط المنسوخ",
"ByUsername": "من خلال اسم المستخدم",
"CheckUpdates": "التحقق من وجود تحديثات",
"Done": "تم حفظ الصوره",
"Download": "تحميل الصوره",
"EnterUsername": "يرجى ادخال اسم المستخدم",
"FirstMessage": "كيف تريد تحميل الصوره",
"LemonAlert": "يرجى تنصيب الاختصار Lemon Updater من اجل التحقق من وجود تحديثات",
"View": "عرض سريع",
"Working": "يرجى الانتظار…"
}
menu @Resources['FirstMessage'] {
item @Resources['ByClipboard']:
const Clipboard = getClipboard()
url(Clipboard)
@Link
item @Resources['ByUsername']:
prompt(@Resources['EnterUsername'])
@User
url("https://www.instagram.com/{@User}")
@Link
item @Resources['CheckUpdates']:
getShortcuts()
const Matches = containsText(, "Lemon Updater")
if Matches {
run("Lemon Updater", Dictionary)
stop()
} else {
alert(@Resources['LemonAlert'], "InstaDP")
openURL("https://routinehub.co/shortcut/11173/")
stop()
}
}
showNotification(@Resources['Working'], "🌀 Please Wait 🌀")
makeHTML(@Link)
containsText(, "(\"profile_pic_url\").*(\",)")
containsText(, "\"http.+?\"")
replaceText("\"", "")
const UpdatedText = replaceText("\", "")
const SplitText = splitText(UpdatedText)
getRandomItem(SplitText)
@URL
downloadURL(@URL)
@Contents
menu "Which one do you want?" {
item @Resources['Download']:
const SavedPhotoMedia = savePhoto(@Contents)
vibrate()
showNotification(@Resources['Done'], "✅ Download Completed ✅", SavedPhotoMedia)
item @Resources['View']:
vibrate()
show(@Contents)
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von shorctutsink
Das gefällt dir vielleicht auch
Werbung