ShareShortcuts

Chrunos DeezLoad

Download track, album, and playlist from Deezer

chrunos
Fork “Chrunos DeezLoad”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så chrunos får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
16K
Gemt
0
Handlinger
57
Kategori
Musik
Version
1.0
Sprog
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.

Nyheder

Version 1.0

First release

Versionshistorik
1.0 10. mar. 2025

First release

Hvad den gør

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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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)
		}
	}
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra chrunos

Se alle

Du vil måske også kunne lide

Se alle
Annonce