Отсканируй на iPhone, чтобы установить
Download YouTube Videos! You can choose what quality the video can be in and make it to a audio file and more with Super Fast Loading!
Что нового
Версия 2.3
Bug fix
Что делает
Действий: 23-
CommentThanks to the makers of YouTubeconverter.com! Made By ShortcutMaster
-
Get URLs from Input
-
If
-
Show Alert
-
Show AlertOops!
-
If
-
Text
-
Replace Text
-
Play Sound
-
Open URLs
-
If
-
If
-
Text
-
If
-
Replace Text
-
Open URLs
-
Play Sound
-
If
-
If
-
Replace Text
-
Replace Text
-
Open URLs
-
Play Sound
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#define color red
#define glyph downloadArrow
/*
Thanks to the makers of YouTubeconverter.com!
Made By ShortcutMaster
*/
const URLs = getURLs(ShortcutInput)
if !URLs {
confirm("Please use a URL!")
alert("Sorry! This is not a youtube URL!", "Oops!")
if ShortcutInput contains "youtu.be" {
const UpdatedText = replaceText("youtube.com", "youtubepp.com")
playSound(nil)
openURL(UpdatedText)
} else {
}
if ShortcutInput contains "youtube.com" {
const Text = "{URLs}"
if Text contains "https" {
const UpdatedText1 = replaceText("youtube.com", "youtubepp.com", Text)
openURL(UpdatedText1)
playSound(UpdatedText1)
} else {
if Text contains "http" {
replaceText("http", "https", Text)
const UpdatedText2 = replaceText("youtube.com", "youtubepp.com")
openURL(UpdatedText2)
playSound(UpdatedText2)
}
}
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от shortcutmaster
Вам также может понравиться
Реклама