ShareShortcuts
„InstaDP“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit shorctutsink die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
39K
Gesichert
2
Aktionen
47
Kategorie
Social Network
Version
1.0
Sprache
EN

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

Versionsverlauf
1.0 16. Sep 2022

First release

Was er macht

47 Aktionen
  1. Dictionary
  2. Text
  3. Text
  4. If
  5. Dictionary
  6. If
  7. Dictionary
  8. Set Variable
    Resources
  9. Choose from Menu
    …
  10. Choose from Menu
    Resources (ByClipboard)
  11. Get Clipboard
  12. URL
  13. Set Variable
    Link
  14. Choose from Menu
    Resources (ByUsername)
  15. Ask for Input
    …
  16. Set Variable
    User
  17. URL
    https://www.instagram.com/…
  18. Set Variable
    Link
  19. Choose from Menu
    Resources (CheckUpdates)
  20. Get My Shortcuts
  21. Match Text
  22. If
  23. Run Shortcut
    Lemon Updater
  24. Stop This Shortcut
  25. If
  26. Show Alert
    InstaDP
  27. Open URLs
  28. Stop This Shortcut
  29. Show Notification
    …
  30. Make HTML from Rich Text
  31. Match Text
  32. Match Text
  33. Replace Text
  34. Replace Text
  35. Split Text
  36. Get Item from List
  37. Set Variable
    URL
  38. Get Contents of URL
    …
  39. Set Variable
    Contents
  40. Choose from Menu
    Which one do you want?
  41. Choose from Menu
    Resources (Download)
  42. Save to Photo Album
  43. Vibrate Device
  44. Show Notification
    …
  45. Choose from Menu
    Resources (View)
  46. Vibrate Device
  47. Show Result

Als Code ansehen
Beta

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

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung