ShareShortcuts

Chrunos DeezLoad

Download track, album, and playlist from Deezer

chrunos
„Chrunos DeezLoad“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit chrunos die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
16K
Gesichert
0
Aktionen
57
Kategorie
Music
Version
1.0
Sprache
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.

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 10. Mär 2025

First release

Was er macht

57 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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)
		}
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von chrunos

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung