How to use ===•••=== • Make sure that you have already installed a-shell app in AppStore.when you install it befor you download install yt-dlp • Go to youtube app and open your video that you like to download.tap share menu and choose more, than select the shortcut an run Or copy link and run into the shortcut. • Videos an audio will be saved in files app in a-shell folder. ===•••===•••===•••===•••=== • Made by: @Pola219 Rotinehube.co
Novidades
Versão 1.0
First release
O que ele faz
26 ações-
CommentHow to use ===•••=== • Make sure that you have already installed a-shell app in AppStore.when you install it befor you download install yt-dlp • Go to youtube app and open your video that you like to download.tap share menu and choose more, than sel…
-
If
-
Text
-
Choose from Menu…
-
Choose from MenuVideo+Audio
-
Comment##Portions like these look pretty redundant, but a-shell crashes without using the get text node
-
Text
-
Execute CommandAsheKube.app.a-Shell-mini
-
Choose from MenuAudio Only
-
Text
-
Execute CommandAsheKube.app.a-Shell-mini
-
CommentVideo and audio automaticlly will be save in files app in a-shell folder.👆
-
If
-
Choose from Menu
-
Choose from MenuPaste youtube link
-
Ask for InputWhat is your YouTube link?
-
Choose from Menu
-
Choose from MenuVideo+Audio
-
Text
-
Execute CommandAsheKube.app.a-Shell-mini
-
Choose from MenuAudio Only
-
Text
-
Execute CommandAsheKube.app.a-Shell-mini
-
Choose from Menuinstall yt-dlp
-
Text
-
Execute CommandAsheKube.app.a-Shell-mini
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.
#define color darkorange
#define glyph videoIcon
/*
How to use
===•••===
• Make sure that you have already installed a-shell app in AppStore.when you install it befor you download install yt-dlp
• Go to youtube app and open your video that you like to download.tap share menu and choose more, than select the shortcut an run Or copy link and run into the shortcut.
• Videos an audio will be saved in files app in a-shell folder.
===•••===•••===•••===•••===
• Made by: @Pola219 Rotinehube.co
*/
if ShortcutInput {
menu {
item "Video+Audio":
// ##Portions like these look pretty redundant, but a-shell crashes without using the get text node
const Text = "yt-dlp -f (mp4) {ShortcutInput} -o \\"~/Documents/Youtube_dl/%(channel)s/%(title)s.%(ext)s\"
rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
"command": "Text"
})
item "Audio Only":
const Text1 = "yt-dlp -x --audio-format mp3 {ShortcutInput} -o \\"~/Documents/Youtube_dl/%(channel)s/%(title)s.%(ext)s\"
rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
"command": "Text1"
})
// Video and audio automaticlly will be save in files app in a-shell folder.👆
}
} else {
menu nil {
item "Paste youtube link":
prompt("What is your YouTube link?", "URL")
menu "" {
item "Video+Audio":
const Text2 = "yt-dlp -f (mp4) {} -o \\"~/Documents/Youtube_dl/%(channel)s/%(title)s.%(ext)s\"
rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
"command": "Text2"
})
item "Audio Only":
const Text3 = "yt-dlp -x --audio-format mp3 {} -o \\"~/Documents/Youtube_dl/%(channel)s/%(title)s.%(ext)s\"
rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
"command": "Text3"
})
}
item "install yt-dlp":
const Text4 = "pip install --upgrade yt-dlp\nopen shortcuts://"
rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
"command": "Text4"
})
}
}
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 pola
Você também pode gostar
Publicidade