Escanea con tu iPhone para instalar
Vista previa
Twitter Video Downloader ...
Auto Save To Camera Roll
If You Want To Save
Downloaded Video
To File Application
Open Shortcut
And Delete
(Camera Roll)
From Text
Thank ...
ပုံ / ကိုရဲရင့် 😎😎😎
Novedades
Versión 1.0
First release
Qué hace
65 acciones-
If
-
If
-
Get Clipboard
-
Set VariableURL
-
URLhttps://tvd.now.sh/download
-
Get Contents of URL…
-
Set VariableResponse
-
Get Variable
-
If
-
Get Dictionary Value
-
Set VariableError
-
Show AlertError
-
Stop This Shortcut
-
If
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableHighSize
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableMediumSize
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableLowSize
-
Count
-
If
-
Count
-
If
-
Choose from Menu
-
Choose from MenuLow (LowSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
If
-
Choose from Menu
-
Choose from MenuMedium (MediumSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
Choose from MenuLow (LowSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
If
-
Choose from Menu
-
Choose from MenuHigh (HighSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
Choose from MenuMedium (MediumSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
Choose from MenuLow (LowSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
URL Encode
-
Get Contents of URL…
-
Set Name
-
Text
-
If
-
Save to Photo Album
-
Show AlertComplete ...
-
If
-
Save File
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/web'
#include 'actions/sharing'
#define color lightblue
#define glyph textSymbol
if ShortcutInput contains ShortcutInput {
} else {
getClipboard()
}
@URL
url("https://tvd.now.sh/download")
jsonRequest(, "POST", {
"url": "{@URL}"
})
@Response
// TODO: Get Variable not supported: Assign variable here to '@Response'.
if @Response contains "error" {
@Error = @Response['error']
alert("An error occurred: {@Error}", "Error")
stop()
} else {
}
const DictionaryValue = getValue(@Response, "high")
@HighSize = DictionaryValue['size']
const DictionaryValue1 = getValue(@Response, "medium")
@MediumSize = DictionaryValue1['size']
const DictionaryValue2 = getValue(@Response, "low")
@LowSize = DictionaryValue2['size']
const Count = count(@HighSize, "Characters")
if Count == "2" {
const Count1 = count(@MediumSize, "Characters")
if Count1 == "2" {
menu nil {
item "Low ({@LowSize})":
const DictionaryValue3 = getValue(@Response, "low")
@VideoURL = DictionaryValue3['downloadURL']
}
} else {
menu nil {
item "Medium ({@MediumSize})":
const DictionaryValue4 = getValue(@Response, "medium")
@VideoURL = DictionaryValue4['downloadURL']
item "Low ({@LowSize})":
const DictionaryValue5 = getValue(@Response, "low")
@VideoURL = DictionaryValue5['downloadURL']
}
}
} else {
menu nil {
item "High ({@HighSize})":
const DictionaryValue6 = getValue(@Response, "high")
@VideoURL = DictionaryValue6['downloadURL']
item "Medium ({@MediumSize})":
const DictionaryValue7 = getValue(@Response, "medium")
@VideoURL = DictionaryValue7['downloadURL']
item "Low ({@LowSize})":
const DictionaryValue8 = getValue(@Response, "low")
@VideoURL = DictionaryValue8['downloadURL']
}
}
urlEncode(@VideoURL)
const ContentsOfURL = downloadURL()
const RenamedItem = setName(ContentsOfURL, "Twitter Video")
const Text = "Camera Roll"
if Text == "Camera Roll" {
savePhoto(RenamedItem, "Recents")
alert("Download Complete & Saved to the Camera Roll ...", "Complete ...")
} else {
saveFilePrompt(RenamedItem)
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de reviver
También te puede gustar
Publicidad