Отсканируй на iPhone, чтобы установить
Download Spotify track to MP3. Run it from Spotify Share Sheet or copy the Spotify track URL and run it. Music will be sourced from YouTube Music, so YouTube Music has to be available in your country for this shortcut to work.
Learn more ways to Download Spotify to MP3.
Что нового
Версия 1.4
minor fix
Что делает
Действий: 56-
CommentVersion: 2.7
-
CommentCreated by Cody Chrunos My website: chrunos.com Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
-
Get Contents of URLhttps://raw.githubusercontent.com/CodyChrunos/Shortcuts/main/spotifytomp3.json
-
Set Variableupdate
-
Get Dictionary Value
-
Text
-
If
-
Text
-
Choose from Menu…
-
Choose from MenuUpdate Now
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuNot Now
-
If
-
Match Text
-
Get Group from Matched Text
-
If
-
Choose from MenuChoose Quality
-
Choose from MenuMP3_128
-
Choose from MenuMP3_320
-
Choose from MenuPremium Only
-
Choose from MenuGet Premium
-
Open URLs
-
Choose from MenuGet Help from Telegram
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuFLAC - from another source
-
Open URLs
-
Stop This Shortcut
-
If
-
Show NotificationFailed to Find Track ID! This only supports Spotify track.
-
Stop This Shortcut
-
Text
-
Get Contents of URL…
-
Get Dictionary Value
-
Get Contents of URL…
-
Get Name
-
Get Details of Files
-
If
-
Set Name
-
If
-
Get Variable
-
Save File
-
Choose from MenuWhat's next?
-
Choose from MenuGet Spotify Downloader HQ Shortcut
-
URLhttps://chrunos.com/premium-shortcuts/#spotify+downloader
-
Open URLs
-
Choose from MenuBuy me a Coffee
-
URLhttps://chrunos.com/donate/
-
Open URLs
-
Choose from MenuCheck Updates and Spotify Playlist Downloader shortcut
-
URLhttps://chrunos.com/spotify-shortcuts-ios/#spotify+playlist+downloader
-
Open URLs
-
Choose from MenuSubmit Feedback
-
Open URLs
-
Choose from MenuExit
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#define color darkblue
// Version: 2.7
/*
Created by Cody Chrunos
My website: chrunos.com
Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
*/
downloadURL("https://raw.githubusercontent.com/CodyChrunos/Shortcuts/main/spotifytomp3.json")
@update
const Text = "3.0"
if Text != {
menu {
item "Update Now":
openURL(@update)
stop()
item "Not Now":
}
} else {
const Matches = containsText(ShortcutInput, "(?:https://open\.spotify\.com/track/|spotify:track:)([a-zA-Z0-9]+)")
const Text1 = getMatchGroup(Matches, 0)
if Text1 {
menu "Choose Quality" {
item "MP3_128":
item "MP3_320":
menu "Premium Only" {
item "Get Premium":
openURL("https://chrunos.com/premium-shortcuts/")
item "Get Help from Telegram":
openURL("https://t.me/chrunoss")
}
stop()
item "FLAC - from another source":
openURL("https://chrunos.com/premium-shortcuts/")
stop()
}
} else {
showNotification("Failed to Find Track ID! This only supports Spotify track.", false, Text1)
stop()
}
const ContentsOfURL = downloadURL()
const ContentsOfURL1 = downloadURL()
getName(ContentsOfURL1)
const FileExtension = getFileDetail(nil, "File Extension")
if FileExtension == "mp4" {
setName(ContentsOfURL1, "{}.m4a")
} else {
// TODO: Get Variable not supported: Assign variable here to 'ContentsOfURL1'.
}
saveFilePrompt(IfResult)
}
menu "What's next?" {
item "Get Spotify Downloader HQ Shortcut":
const URL = url("https://chrunos.com/premium-shortcuts/#spotify+downloader")
openURL(URL)
item "Buy me a Coffee":
const URL1 = url("https://chrunos.com/donate/")
openURL(URL1)
item "Check Updates and Spotify Playlist Downloader shortcut":
const URL2 = url("https://chrunos.com/spotify-shortcuts-ios/#spotify+playlist+downloader")
openURL(URL2)
item "Submit Feedback":
openURL("https://t.me/chrunoss")
item "Exit":
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от chrunos
Вам также может понравиться
Реклама