Download videos and music from multiple sources including YouTube, Facebook, Instagram, Soundcloud, Spotify, Tidal, etc. Check all supported platforms from here.
What's New
Version 2.0
Fix music download. stable YouTube downloads. Faster.
What it does
131 actions-
Set Variableinput
-
CommentCreated by Cody Chrunos My website: chrunos.com Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
-
CommentVersion 1.3 Supported Video platforms: Bilibili, Instagram, OK Video, Pinterest, Reddit, Rutube, Streamable, Tiktok, Tumblr, Twitch , Twitter, Vimeo, Vine, VK, and YouTube. Supported Music Platforms: Spotify, Soundcloud, Tidal, Deezer, and YouTube M…
-
Dictionary
-
Get Contents of URLhttps://raw.githubusercontent.com/CodyChrunos/Shortcuts/main/chrunosmultidownloader.json
-
Set Variableupdate
-
Get Dictionary Value
-
Text
-
If
-
Text
-
Choose from Menu…
-
Choose from MenuUpdate Now
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuSkip Update
-
If
-
Choose from MenuDownload Music or Video?
-
Choose from MenuVideo [MP4]
-
List
-
Choose from List
-
If
-
Choose from MenuVideo Quality Above 720P is for Premium Member Only
-
Choose from MenuGet premium
-
Open URLs
-
Choose from MenuJoin Telegram Group
-
Open URLs
-
Stop This Shortcut
-
If
-
Set Variablequality
-
Get Contents of URL…
-
Get Dictionary from Input
-
Text
-
If
-
Get Dictionary Value
-
Repeat with Each
-
Get Dictionary Value
-
Add to Variable
-
If
-
Get Dictionary Value
-
Set VariabledownloadUrls
-
If
-
Repeat with Each
-
Get Contents of URL…
-
Save to Photo Album
-
If
-
Match Text
-
If
-
Get Contents of URL…
-
Get Dictionary Value
-
Get Contents of URL…
-
Save to Photo Album
-
Set VariableRemain
-
If
-
Choose from MenuSorry, Failed to Download the Video.
-
Choose from MenuReport Error on Telegram
-
Open URLs
-
Choose from MenuShow Error Details
-
Show Alert…
-
Choose from MenuGet Other Multi-Source Downloader Shortcuts
-
Open URLs
-
Choose from MenuExit
-
Stop This Shortcut
-
Choose from MenuAudio [MP3]
-
Get URLs from Input
-
Match Text
-
If
-
Get Contents of URLhttps://api.song.link/v1-alpha.1/links?url=…
-
Get Dictionary Value
-
Get Dictionary Value
-
If
-
Get Dictionary Value
-
Set Variableinput
-
If
-
Choose from MenuSorry, Failed to Download the file.
-
Choose from MenuReport Error on Telegram
-
Open URLs
-
Choose from MenuGet Other Music Downloader Shortcuts
-
Open URLs
-
Choose from MenuExit
-
Stop This Shortcut
-
If
-
Set Variableinput
-
Quick Look
-
URL
-
Set VariableencodedURL
-
Get Contents of URL…
-
Get Dictionary from Input
-
Get Dictionary Value
-
Set VariableStream
-
If
-
Match Text
-
Set Variablematch
-
If
-
Show NotificationSorry, failed to download! Report
-
Stop This Shortcut
-
Get Group from Matched Text
-
Set VariablesId
-
Text
-
Text
-
Get Contents of URL…
-
Get Dictionary from Input
-
Get Dictionary Value
-
Get Dictionary Value
-
Get Item from List
-
Get Dictionary Value
-
Get Contents of URL…
-
Get Details of Files
-
If
-
Encode Media
-
If
-
Get Variable
-
If
-
Get Contents of URL…
-
Get Details of Files
-
Match Text
-
If
-
Save File
-
If
-
Set Name
-
Save File
-
Choose from Menu… requests left for today. What's Next?
-
Choose from MenuDownload Music or Video in Higher Quality? Get our Premium Shortcuts
-
URLhttps://chrunos.com/premium-shortcuts/
-
Open URLs
-
Choose from MenuCheck My Full Shortcuts Collection
-
Open URLs
-
Choose from MenuGet Chrunos Downloader (yt-dlp) version (Supports more sites)
-
Open URLs
-
Choose from MenuDonate
-
Open URLs
-
Choose from MenuExit
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
@input = ShortcutInput
/*
Created by Cody Chrunos
My website: chrunos.com
Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
*/
/*
Version 1.3
Supported Video platforms: Bilibili, Instagram, OK Video, Pinterest, Reddit, Rutube, Streamable, Tiktok, Tumblr, Twitch , Twitter, Vimeo, Vine, VK, and YouTube.
Supported Music Platforms: Spotify, Soundcloud, Tidal, Deezer, and YouTube Music, Pandora, Amazon Music.
*/
const Version = {
"Name": "Chrunos Multi Downloader",
"api": "https://co.wuk.sh/api/json",
"version": "2.5"
}
downloadURL("https://raw.githubusercontent.com/CodyChrunos/Shortcuts/main/chrunosmultidownloader.json")
@update
const Text = "{}"
if Text != Version['version'] {
menu {
item "Update Now":
openURL(@update)
stop()
item "Skip Update":
}
} else {
}
menu "Download Music or Video?" {
item "Video [MP4]":
const List = list("720", "480", "1080", "1440", "2160")
const ChosenItem = chooseFromList(List, "Choose Video Quality")
if ChosenItem contains "1" {
menu "Video Quality Above 720P is for Premium Member Only" {
item "Get premium":
openURL("https://chrunos.com/premium-shortcuts/")
item "Join Telegram Group":
openURL("https://t.me/chrunoss")
}
stop()
} else {
@quality = ChosenItem
}
const ContentsOfURL = jsonRequest(@update['api'], "POST", {
"url": "{@input}",
"videoQuality": "{@quality}"
}, {
"Accept": "application/json",
"Content-Type": "application/json"
})
const Dictionary = getDictionary(ContentsOfURL)
const Text1 = "{Dictionary}"
if Text1 contains "picker" {
const DictionaryValue = getValue(Dictionary, "picker")
for _ in DictionaryValue {
@downloadUrls += @RepeatItem['url']
}
} else {
@downloadUrls = Dictionary['url']
}
if @downloadUrls {
for _ in @downloadUrls {
const ContentsOfURL1 = downloadURL(@RepeatItem)
savePhoto(ContentsOfURL1)
}
} else {
const Matches = containsText(ShortcutInput, "youtu.+")
if Matches {
const ContentsOfURL2 = jsonRequest(@update['max'], "POST", {
"url": "{ShortcutInput}"
}, {
"Content-Type": "application/json"
})
const ContentsOfURL3 = downloadURL()
savePhoto(ContentsOfURL3)
@Remain = ContentsOfURL2['requests_remaining']
} else {
menu "Sorry, Failed to Download the Video." {
item "Report Error on Telegram":
openURL("https://t.me/+fd82OOpm6zNjNDhl")
item "Show Error Details":
alert("Error!", Dictionary['text'])
item "Get Other Multi-Source Downloader Shortcuts":
openURL("https://chrunos.com/ultimate-downloader-shortcuts/")
item "Exit":
stop()
}
}
}
item " Audio [MP3]":
getURLs(ShortcutInput)
const Matches1 = containsText(, "apple\.|tidal\.|deezer\.|spotify\.|napster\.|pandora\.|amazon\.", false)
if Matches1 {
const ContentsOfURL4 = downloadURL("https://api.song.link/v1-alpha.1/links?url={}")
const DictionaryValue1 = getValue(ContentsOfURL4, "linksByPlatform")
const DictionaryValue2 = getValue(DictionaryValue1, "youtube")
if DictionaryValue2 {
@input = DictionaryValue2['url']
} else {
menu "Sorry, Failed to Download the file." {
item "Report Error on Telegram":
openURL("https://t.me/+fd82OOpm6zNjNDhl")
item "Get Other Music Downloader Shortcuts":
openURL("https://chrunos.com/free-download-music-on-iphone/")
item "Exit":
stop()
}
}
} else {
@input = ShortcutInput
quicklook(@input)
}
url(ShortcutInput)
@encodedURL = ShortcutInput
const ContentsOfURL5 = jsonRequest(@update['api'], "POST", {
"audioFormat": "mp3",
"downloadMode": "audio",
"filenameStyle": "pretty",
"url": "{@input}"
}, {
"Accept": "application/json",
"Content-Type": "application/json"
})
const Dictionary1 = getDictionary(ContentsOfURL5)
@Stream = Dictionary1['url']
if !@Stream {
containsText(@input, "youtu(?:.*\/v\/|.*v\=|\.be\/|.*?embed\/|.*?shorts\/)([A-Za-z0-9_\-]{11})")
@match
if !@match {
showNotification("Sorry, failed to download! Report", @match)
stop()
}
getMatchGroup(@match, 0)
@sId
const Text2 = "{'context':{'client':{'clientName':'IOS','clientVersion':'19.14.3','deviceModel':'iPhone15,4'}},'videoId':'{@sId}'}"
const ContentsOfURL6 = fileRequest(, "POST", Text2, {
"X-Goog-Visitor-Id": "CgtMWlVXOTFCcE5Edyj9p4i9BjIKCgJVUxIEGgAgZA%3D%3D",
"X-Origin": "https://www.youtube.com",
"x-goog-authuser": "0"
})
const Dictionary2 = getDictionary(ContentsOfURL6)
const DictionaryValue3 = getValue(Dictionary2, "streamingData")
const DictionaryValue4 = getValue(DictionaryValue3, "adaptiveFormats")
const ItemFromList = getRandomItem(DictionaryValue4)
const ContentsOfURL7 = downloadURL(, {})
const FileExtension = getFileDetail(nil, "File Extension")
if FileExtension == "mp4" {
encodeVideo(ContentsOfURL7)
} else {
// TODO: Get Variable not supported: Assign variable here to 'ContentsOfURL7'.
}
} else {
const Filename = downloadURL(@Stream)
}
getFileDetail(nil, "Name")
const Matches2 = containsText(, "(\b\w+\b ){1,5}- (\b\w+\b ){1,5}")
if !Matches2 {
saveFilePrompt(IfResult)
} else {
const RenamedItem = setName(IfResult, Matches2)
saveFilePrompt(RenamedItem)
}
}
menu "{@Remain} requests left for today. What's Next?" {
item "Download Music or Video in Higher Quality? Get our Premium Shortcuts":
const URL = url("https://chrunos.com/premium-shortcuts/")
openURL(URL)
item "Check My Full Shortcuts Collection":
openURL("https://chrunos.com/top-siri-shortcuts/")
item "Get Chrunos Downloader (yt-dlp) version (Supports more sites)":
openURL("https://chrunos.com/ultimate-downloader-shortcuts/#yt-dlp+shortcut")
item "Donate":
openURL("https://chrunos.com/donate/")
item "Exit":
}
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 chrunos
You Might Also Like
Advertisement