Scan with your iPhone to install
SoundCloud To Mp3 You can copy the SoundCloud track link to run shortcut. You can also use Share Sheet from SoundCloud App.
What's New
Version 1.0
First release
What it does
35 actions-
Dictionary
-
Get Contents of URLhttps://updatekit.mikebeas.com/v1
-
Get Dictionary Value
-
If
-
Choose from MenuNew version available. What's new: … Press UPDATE to download latest version.
-
Choose from MenuUPDATE
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuSKIP
-
Nothing
-
Random Number
-
Text
-
Set VariableFilename
-
CommentSoundCloud To Mp3 Create by: Peymalv-Sh You can copy the SoundCloud track link to run shortcut. You can also use Share Sheet from SoundCloud App.
-
Get URLs from Input
-
Set Variableurl
-
Get Variable
-
Match Text
-
If
-
Get Contents of URLhttps://videodownloaderguru.com
-
Make HTML from Rich Text
-
Match Text
-
Replace Text
-
Get Contents of URLhttps://videodownloaderguru.com/wp-json/aio-dl/video-data/
-
Get Dictionary Value
-
If
-
Get Item from List
-
If
-
Get Item from List
-
Get Dictionary Value
-
Get URLs from Input
-
Set VariableSongURL
-
Get Contents of URL…
-
Set Name
-
Save File
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#define color blue
#define glyph musicNote
const UPDATE = jsonRequest("https://updatekit.mikebeas.com/v1", "POST", {
"shortcut": {
"id": "16924",
"module": "routinehub",
"version": "1.1"
}
})
const Response = getValue(UPDATE, "update")
if Response == {
menu "New version available. \nWhat's new: \n{UPDATE['payload.notes']}\nPress UPDATE to download latest version." {
item "UPDATE":
openURL(UPDATE['payload.download'])
stop()
item "SKIP":
}
}
randomNumber(100, 9999)
@Filename = "SoundCloud-{}"
/*
SoundCloud To Mp3
Create by: Peymalv-Sh
You can copy the SoundCloud track link to run shortcut.
You can also use Share Sheet from SoundCloud App.
*/
getURLs(ShortcutInput)
@url
// TODO: Get Variable not supported: Assign variable here to '@url'.
const Matches = containsText(@url, "|soundcloud|")
if Matches {
const ContentsOfURL = downloadURL("https://videodownloaderguru.com")
makeHTML(ContentsOfURL)
containsText(, "(?<=<input name=\")(.*?)(?=\" type=\"hidden\" value=\")(.*?)(?=\" \/>)")
const Token = replaceText(">|name|token|value|=|\"| ", "", false, true)
const ContentsOfURL1 = formRequest("https://videodownloaderguru.com/wp-json/aio-dl/video-data/", "POST", {
"token": "{Token}",
"url": "{@url}"
})
const DictionaryValue = getValue(ContentsOfURL1, "medias")
if DictionaryValue['Name'] contains "\"extension\":\"mp4\"" {
getLastItem(DictionaryValue)
} else {
getRandomItem(DictionaryValue)
}
getURLs()
@SongURL
const ContentsOfURL2 = downloadURL(@SongURL)
const RenamedItem = setName(ContentsOfURL2, @Filename)
saveFile("SNC MP3/{}.mp3", RenamedItem)
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by pola
You Might Also Like
Advertisement