ShareShortcuts

StoryTime 📨

StoryTime 📨 Download Instagram stories to your iOS camera roll Setup 1

oliver
„StoryTime 📨“ 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 oliver 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
65K
Gesichert
0
Aktionen
155
Kategorie
Social Network
Version
2.1
Sprache
DE

Vorschau

StoryTime 📨

Download Instagram stories to your iOS camera roll

Setup

  1. Create a photo album called StoryTime
  2. Edit the profiles list
  3. Hit run 🥳

Features

  • prepend profile pic to all downloaded stories ✅
  • show progress when checking a profile ✅
  • show stats after a complete download ✅
  • split profile downloads by calling StoryTime 📨 with a list of profiles ✅

Neue Funktionen

Version 2.1

Improved error handling

Versionsverlauf
2.1 23. Nov 2019

Improved error handling

2.1 23. Nov 2019

Improved error handling

2.1 23. Nov 2019

Improved error handling

2.1 23. Nov 2019

Improved error handling

2.1 23. Nov 2019

Improved error handling

2.0 21. Nov 2019

Improved configuration support, profiles, peak / preview, airplane mode and optional save to camera roll 🥳

1.0 16. Nov 2019

First release

Was er macht

155 Aktionen
  1. Dictionary
  2. Get Dictionary Value
  3. Set Variable
    peak
  4. Get Dictionary Value
  5. If
  6. Set Variable
    peak
  7. If
  8. Get Dictionary Value
  9. Set Variable
    users
  10. Get Dictionary Value
  11. If
  12. Set Variable
    users
  13. If
  14. Get Dictionary Value
  15. Set Variable
    airplane
  16. Get Dictionary Value
  17. If
  18. Set Variable
    airplane
  19. If
  20. Get Dictionary Value
  21. Set Variable
    stats
  22. Get Dictionary Value
  23. If
  24. Set Variable
    stats
  25. If
  26. Get Dictionary Value
  27. Set Variable
    progress
  28. Get Dictionary Value
  29. If
  30. Set Variable
    progress
  31. If
  32. Get Dictionary Value
  33. Set Variable
    profile_pic
  34. Get Dictionary Value
  35. If
  36. Set Variable
    profile_pic
  37. If
  38. Get Dictionary Value
  39. Set Variable
    save
  40. Get Dictionary Value
  41. If
  42. Set Variable
    save
  43. If
  44. Count
  45. Set Variable
    user_ count
  46. Set Variable
    icloud_names
  47. Format Date
  48. Set Variable
    start
  49. Create Folder
  50. Number
  51. Set Variable
    stories
  52. Number
  53. Set Variable
    profiles
  54. Set Variable
    previews
  55. Repeat with Each
  56. If
  57. Show Notification
    Überprüfe … von … 🙋‍♂️
  58. If
  59. Set Variable
    downloads
  60. Number
  61. Set Variable
    magic_continue
  62. Set Variable
    urls
  63. Get Contents of URL
    https://storiesig.com/stories/…
  64. Make HTML from Rich Text
  65. Split Text
  66. Repeat with Each
  67. If
  68. Split Text
  69. Get Item from List
  70. If
  71. Replace Text
  72. Add to Variable
  73. If
  74. If
  75. Get Item from List
  76. Set Variable
    profile_url
  77. Count
  78. Repeat
  79. Calculate
  80. Calculate
  81. Get Item from List
  82. Set Variable
    urls
  83. Calculate
  84. If
  85. Get Item from List
  86. Set Variable
    urls
  87. If
  88. Set Variable
    urls
  89. Repeat with Each
  90. Set Variable
    url
  91. Split Text
  92. Get Item from List
  93. Split Text
  94. Get Item from List
  95. Text
  96. Set Variable
    icloud_name
  97. If
  98. Get File
  99. Count
  100. If
  101. Add to Variable
  102. Add to Variable
  103. If
  104. Number
  105. Set Variable
    magic_continue
  106. If
  107. Count
  108. Repeat
  109. Calculate
  110. Calculate
  111. Get Item from List
  112. Set Variable
    downloads
  113. Count
  114. If
  115. Show Notification
    … neue Stories werden heruntergeladen 📨
  116. If
  117. Get Contents of URL
    …
  118. Add to Variable
  119. If
  120. Save to Photo Album
  121. If
  122. If
  123. Repeat with Each
  124. Get Contents of URL
    …
  125. Add to Variable
  126. If
  127. Save to Photo Album
  128. If
  129. Calculate
  130. Set Variable
    stories
  131. Calculate
  132. Set Variable
    profiles
  133. If
  134. Repeat with Each
  135. Save File
  136. If
  137. Format Date
  138. Get Time Between Dates
  139. Show Notification
    … neue Stories von … Profilen (… insgesamt) in … Sekunden erfolgreich heruntergeladen 📬
  140. Get Device Details
  141. If
  142. Vibrate Device
  143. If
  144. If
  145. If
  146. If
  147. If
  148. Set Airplane Mode
  149. If
  150. Quick Look
  151. If
  152. Set Airplane Mode
  153. If
  154. If
  155. If

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/documents'
#include 'actions/calendar'
#define color taupe
#define glyph alien

const Wrterbuch = {
	"airplane": false,
	"album": "StoryTime",
	"location": "_storytime",
	"name": "StoryTime",
	"peak": true,
	"profile_pic": true,
	"profiles": [
		"1live"
	],
	"progress": false,
	"save": true,
	"stats": true
}
@peak = Wrterbuch['peak']
const Wrterbuchwert = getValue(ShortcutInput, "peak")

if Wrterbuchwert {
	@peak = Wrterbuchwert
} else {
}
@users = Wrterbuch['profiles']
const Wrterbuchwert1 = getValue(ShortcutInput, "profiles")

if Wrterbuchwert1 {
	@users = Wrterbuchwert1
} else {
}
@airplane = Wrterbuch['airplane']
const Wrterbuchwert2 = getValue(ShortcutInput, "airplane")

if Wrterbuchwert2 {
	@airplane = Wrterbuchwert2
} else {
}
@stats = Wrterbuch['stats']
const Wrterbuchwert3 = getValue(ShortcutInput, "stats")

if Wrterbuchwert3 {
	@stats = Wrterbuchwert3
} else {
}
@progress = Wrterbuch['progress']
const Wrterbuchwert4 = getValue(ShortcutInput, "progress")

if Wrterbuchwert4 {
	@progress = Wrterbuchwert4
} else {
}
@profile_pic = Wrterbuch['profile_pic']
const Wrterbuchwert5 = getValue(ShortcutInput, "profile_pic")

if Wrterbuchwert5 {
	@profile_pic = Wrterbuchwert5
} else {
}
@save = Wrterbuch['save']
const Wrterbuchwert6 = getValue(ShortcutInput, "save")

if Wrterbuchwert6 {
	@save = Wrterbuchwert6
} else {
}
count(@users)
@User_Count
@icloud_names = nil
formatDate(CurrentDate, "ISO 8601")
@start
createFolder(Wrterbuch['location'])
@stories = 0
@profiles = 0
@previews = nil

for _ in @users {
	if @progress ==  {
		showNotification("Überprüfe {@RepeatIndex} von {@User_Count} 🙋‍♂️", "{Wrterbuch['name']} {@RepeatItem}", false, Wrterbuchwert7)
	} else {
	}
	@downloads = nil
	@magic_continue = 1
	@urls = nil
	const InhaltDerURL = downloadURL("https://storiesig.com/stories/{@RepeatItem}")
	const HTMLZuFormatiertemText = makeHTML(InhaltDerURL, false)
	const TextAufteilen = splitText(HTMLZuFormatiertemText, "src="")
	for _ in TextAufteilen {
		if @RepeatItem2 beginsWith "https" {
			const TextAufteilen1 = splitText(@RepeatItem2, """)
			const ObjektAusListe = getListItem(TextAufteilen1, 0)
			if ObjektAusListe contains "insta" {
				replaceText("&", "&", ObjektAusListe)
				@urls
			} else {
			}
		} else {
		}
	}
	getListItem(@urls, 0)
	@profile_url
	const Anzahl = count(@urls)
	repeat _ for Anzahl {
		const ErgebnisDerBerechnung = Anzahl - @RepeatIndex2
		const ErgebnisDerBerechnung1 = ErgebnisDerBerechnung + 1
		getListItem(@urls, ErgebnisDerBerechnung1)
	}
	@urls
	const ErgebnisDerBerechnung2 = Anzahl - 1
	if ErgebnisDerBerechnung2 > 0 {
		getListItems(@urls, 0, ErgebnisDerBerechnung2)
		@urls
	} else {
		@urls = nil
	}
	for _ in @urls {
		@url = @RepeatItem2
		const TextAufteilen2 = splitText(@url, "?")
		const ObjektAusListe1 = getFirstItem(TextAufteilen2)
		const TextAufteilen3 = splitText(ObjektAusListe1, "/")
		getLastItem(TextAufteilen3)
		@icloud_name = "{}.txt"
		if @magic_continue ==  {
			const Datei = getFile("{Wrterbuch['location']}/{@icloud_name}", false)
			const Anzahl1 = count(Datei)
			if Anzahl1 == 0 {
				@icloud_names = @icloud_name
				@downloads = @url
			} else {
				@magic_continue = 0
			}
		} else {
		}
	}
	const Anzahl2 = count(@downloads)
	repeat _ for Anzahl2 {
		const ErgebnisDerBerechnung3 = Anzahl2 - @RepeatIndex2
		const ErgebnisDerBerechnung4 = ErgebnisDerBerechnung3 + 1
		getListItem(@downloads, ErgebnisDerBerechnung4)
	}
	@downloads
	const Anzahl3 = count(@downloads)
	if Anzahl3 > 0 {
		showNotification("{Anzahl3} neue Stories werden heruntergeladen 📨", "{Wrterbuch['name']} {@RepeatItem}", true)
		if @profile_pic ==  {
			const InhaltDerURL1 = downloadURL(@profile_url)
			@previews = InhaltDerURL1
			if @save ==  {
				savePhoto(InhaltDerURL1, Wrterbuch['album'])
			} else {
			}
		} else {
		}
		for _ in @downloads {
			const InhaltDerURL2 = downloadURL(@RepeatItem2)
			@previews = InhaltDerURL2
			if @save ==  {
				savePhoto(InhaltDerURL2, Wrterbuch['album'])
			} else {
			}
			@stories = @stories + 1
		}
		@profiles = @profiles + 1
	} else {
	}
}

for _ in @icloud_names {
	saveFile("{Wrterbuch['location']}/{@RepeatItem}")
}

if @stats ==  {
	formatDate(CurrentDate, "ISO 8601")
	rawAction("is.workflow.actions.gettimebetweendates", {
		"WFInput": "{}",
		"WFTimeUntilFromDate": "{@start}",
		"WFTimeUntilUnit": "Seconds"
	})
	showNotification("{@stories} neue Stories von {@profiles} Profilen ({@User_Count} insgesamt) in {} Sekunden erfolgreich heruntergeladen 📬", Wrterbuch['name'], false, Wrterbuchwert8)
	const Gertemodell = getDeviceDetail("Device Model")
	if Gertemodell contains "iPhone" {
		vibrate()
	} else {
	}
} else {
}

if @stories > 0 {
	if @peak ==  {
		if @airplane ==  {
			setAirplaneMode(false)
		} else {
		}
		quicklook(@previews)
		if @airplane ==  {
			setAirplaneMode(0)
		} else {
		}
	} else {
	}
} else {
}
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 oliver

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung