Escaneie com o iPhone para instalar
Pré-visualização
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 ...
ပုံ / ကိုရဲရင့် 😎😎😎
Novidades
Versão 1.0
First release
O que ele faz
65 ações-
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 as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele 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 no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de reviver
Você também pode gostar
Publicidade