ShareShortcuts

Chrunos DeezLoad

Download track, album, and playlist from Deezer

chrunos
Fazer fork de “Chrunos DeezLoad”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que chrunos receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
16K
Salvo
0
Ações
57
Categoria
Music
Versão
1.0
Idioma
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.

Novidades

Versão 1.0

First release

Histórico de versões
1.0 10 de mar de 2025

First release

O que ele faz

57 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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)
		}
	}
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de chrunos

Ver tudo

Você também pode gostar

Ver tudo
Publicidade