ShareShortcuts

Chrunos DeezLoad

Download track, album, and playlist from Deezer

chrunos
Fork “Chrunos DeezLoad”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so chrunos gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
16K
Saved
0
Actions
57
Category
Music
Version
1.0
Language
EN

Download track, album, and playlist from Deezer.

Require an Premium ARL to download FLAC or MP3_320.

Free ARL can only downloads MP3_128.

Full setup guide.

This is the initial release, so let me know if there is any issue.

What's New

Version 1.0

First release

Version History
1.0 Mar 10, 2025

First release

What it does

57 actions
  1. Comment
    Input your Deezer ARL code to the below text action.
  2. Text
  3. Set Variable
    arl
  4. If
  5. List
  6. If
  7. List
  8. Get Contents of URL
    https://raw.githubusercontent.com/CodyChrunos/Shortcuts/refs/heads/main/deezloader.json
  9. Get Dictionary from Input
  10. Set Variable
    update
  11. Text
  12. If
  13. Show Notification
    A New Version is available! Open your browser to get it.
  14. Open URLs
  15. Stop This Shortcut
  16. If
  17. Match Text
  18. If
  19. Choose from List
  20. Get Contents of URL
    …
  21. Text
  22. If
  23. Choose from Menu
    …
  24. Choose from Menu
    Get Help on Telegram
  25. Open URLs
  26. Choose from Menu
    Get The Premium Version
  27. Open URLs
  28. If
  29. Get Dictionary from Input
  30. Get Contents of URL
    …
  31. Save File
  32. If
  33. Match Text
  34. If
  35. Get Group from Matched Text
  36. Set Variable
    id
  37. Text
  38. Set Variable
    fetch_url
  39. If
  40. Match Text
  41. If
  42. Get Group from Matched Text
  43. Set Variable
    id
  44. Text
  45. Set Variable
    fetch_url
  46. If
  47. Show Notification
    Make sure you pass a valid Deezer URL to the shortcut
  48. Stop This Shortcut
  49. Get Contents of URL
    …
  50. Get Dictionary from Input
  51. Repeat with Each
  52. Get Dictionary Value
  53. Get Dictionary Value
  54. Set Name
  55. Choose from List
  56. Repeat with Each
  57. Run Shortcut
    Chrunos DeezLoad

View as code
Beta

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 teal
#define glyph headphones

// Input your Deezer ARL code to the below text action. 

@arl = ""

const IfResult = if @arl {
	list("MP3_128", "MP3_320", "FLAC")
} else {
	list("MP3_128", "MP3_320")
}
const ContentsOfURL = jsonRequest("https://raw.githubusercontent.com/CodyChrunos/Shortcuts/refs/heads/main/deezloader.json", "GET", {})
getDictionary(ContentsOfURL)
@update
const Text = "1.0"

if Text != ['version'] {
	showNotification("A New Version is available! Open your browser to get it. ", @update['note'], Text)
	openURL(@update)
	stop()
} else {
	const Matches = containsText(ShortcutInput, "^https?://(?:(?:www\.)?deezer\.com(?:/[a-z]{2,5})?/track/\d+|dzr\.page\.link/[A-Za-z0-9]+)(?:[/?].*)?$")
	if Matches {
		chooseFromList(IfResult)
		const ContentsOfURL1 = jsonRequest(@update['api'], "POST", {
			"arl": "{@arl}",
			"quality": "{}",
			"url": "{Matches}"
		})
		const Text1 = "{ContentsOfURL1}"
		if Text1 contains "detail" {
			menu Text1 {
			item "Get Help on Telegram":
				openURL("https://t.me/chrunoss")
			item "Get The Premium Version":
				openURL("https://chrunos.com/premium-shortcuts/")
			}
		} else {
		}
		getDictionary(ContentsOfURL1)
		const ContentsOfURL2 = downloadURL(['download_url'])
		saveFilePrompt(ContentsOfURL2)
	} else {
		const Matches1 = containsText(ShortcutInput, "https?://(?:www\.)?deezer\.com(?:/[a-z]{2})?/album/(\d+)")
		if Matches1 {
			getMatchGroup(Matches1, 0)
			@id
			@fetch_url = "{@update['album']}"
		} else {
			const Matches2 = containsText(ShortcutInput, "https?://(?:www\.)?deezer\.com(?:/[a-z]{2})?/playlist/(\d+)")
			if Matches2 {
				getMatchGroup(Matches2, 0)
				@id
				@fetch_url = "{@update['playlist']}"
			} else {
				showNotification("Make sure you pass a valid Deezer URL to the shortcut", Matches2)
				stop()
			}
		}
		const ContentsOfURL3 = jsonRequest(@fetch_url, "POST", {
			"id": "{@id}"
		})
		const Dictionary = getDictionary(ContentsOfURL3)
		for _ in Dictionary {
			const DictionaryValue = getValue(@RepeatItem, "link")
			setName(DictionaryValue)
		}
		const ChosenItem = chooseFromList(RepeatResults, "Choose Tracks That You Want to Download", true, true)
		for _ in ChosenItem {
			runSelf(@RepeatItem)
		}
	}
}
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

See All

You Might Also Like

See All
Advertisement