Mit dem iPhone scannen, um zu installieren
Vorschau
StoryTime 📨
Download Instagram stories to your iOS camera roll
Setup
- Create a photo album called StoryTime
- Edit the profiles list
- 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
Was er macht
155 Aktionen-
Dictionary
-
Get Dictionary Value
-
Set Variablepeak
-
Get Dictionary Value
-
If
-
Set Variablepeak
-
If
-
Get Dictionary Value
-
Set Variableusers
-
Get Dictionary Value
-
If
-
Set Variableusers
-
If
-
Get Dictionary Value
-
Set Variableairplane
-
Get Dictionary Value
-
If
-
Set Variableairplane
-
If
-
Get Dictionary Value
-
Set Variablestats
-
Get Dictionary Value
-
If
-
Set Variablestats
-
If
-
Get Dictionary Value
-
Set Variableprogress
-
Get Dictionary Value
-
If
-
Set Variableprogress
-
If
-
Get Dictionary Value
-
Set Variableprofile_pic
-
Get Dictionary Value
-
If
-
Set Variableprofile_pic
-
If
-
Get Dictionary Value
-
Set Variablesave
-
Get Dictionary Value
-
If
-
Set Variablesave
-
If
-
Count
-
Set Variableuser_ count
-
Set Variableicloud_names
-
Format Date
-
Set Variablestart
-
Create Folder
-
Number
-
Set Variablestories
-
Number
-
Set Variableprofiles
-
Set Variablepreviews
-
Repeat with Each
-
If
-
Show NotificationÜberprüfe … von … 🙋♂️
-
If
-
Set Variabledownloads
-
Number
-
Set Variablemagic_continue
-
Set Variableurls
-
Get Contents of URLhttps://storiesig.com/stories/…
-
Make HTML from Rich Text
-
Split Text
-
Repeat with Each
-
If
-
Split Text
-
Get Item from List
-
If
-
Replace Text
-
Add to Variable
-
If
-
If
-
Get Item from List
-
Set Variableprofile_url
-
Count
-
Repeat
-
Calculate
-
Calculate
-
Get Item from List
-
Set Variableurls
-
Calculate
-
If
-
Get Item from List
-
Set Variableurls
-
If
-
Set Variableurls
-
Repeat with Each
-
Set Variableurl
-
Split Text
-
Get Item from List
-
Split Text
-
Get Item from List
-
Text
-
Set Variableicloud_name
-
If
-
Get File
-
Count
-
If
-
Add to Variable
-
Add to Variable
-
If
-
Number
-
Set Variablemagic_continue
-
If
-
Count
-
Repeat
-
Calculate
-
Calculate
-
Get Item from List
-
Set Variabledownloads
-
Count
-
If
-
Show Notification… neue Stories werden heruntergeladen 📨
-
If
-
Get Contents of URL…
-
Add to Variable
-
If
-
Save to Photo Album
-
If
-
If
-
Repeat with Each
-
Get Contents of URL…
-
Add to Variable
-
If
-
Save to Photo Album
-
If
-
Calculate
-
Set Variablestories
-
Calculate
-
Set Variableprofiles
-
If
-
Repeat with Each
-
Save File
-
If
-
Format Date
-
Get Time Between Dates
-
Show Notification… neue Stories von … Profilen (… insgesamt) in … Sekunden erfolgreich heruntergeladen 📬
-
Get Device Details
-
If
-
Vibrate Device
-
If
-
If
-
If
-
If
-
If
-
Set Airplane Mode
-
If
-
Quick Look
-
If
-
Set Airplane Mode
-
If
-
If
-
If
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/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
Das gefällt dir vielleicht auch
Werbung