ShareShortcuts

Chrunos DeezLoad

Download track, album, and playlist from Deezer

chrunos
Dupliquer « Chrunos DeezLoad »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que chrunos soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
16K
Enregistré
0
Actions
57
Catégorie
Music
Version
1.0
Langue
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.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 10 mars 2025

First release

Ce qu’il fait

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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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)
		}
	}
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de chrunos

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité