ShareShortcuts

Spotify To MP3

Download Spotify track to MP3

chrunos
Dupliquer « Spotify To MP3 »

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
50K
Enregistré
3
Actions
56
Catégorie
Music
Version
1.4
Langue
EN

Download Spotify track to MP3. Run it from Spotify Share Sheet or copy the Spotify track URL and run it. Music will be sourced from YouTube Music, so YouTube Music has to be available in your country for this shortcut to work.

Learn more ways to Download Spotify to MP3.

Nouveautés

Version 1.4

minor fix

Historique des versions
1.4 9 mars 2025

minor fix

1.3 9 mars 2025

minor fix

1.2 16 avr. 2024

minor fix

1.1 20 avr. 2023

Fix downloading errors

1.0 24 mars 2022

First release

Ce qu’il fait

56 actions
  1. Comment
    Version: 2.7
  2. Comment
    Created by Cody Chrunos My website: chrunos.com Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
  3. Get Contents of URL
    https://raw.githubusercontent.com/CodyChrunos/Shortcuts/main/spotifytomp3.json
  4. Set Variable
    update
  5. Get Dictionary Value
  6. Text
  7. If
  8. Text
  9. Choose from Menu
    …
  10. Choose from Menu
    Update Now
  11. Open URLs
  12. Stop This Shortcut
  13. Choose from Menu
    Not Now
  14. If
  15. Match Text
  16. Get Group from Matched Text
  17. If
  18. Choose from Menu
    Choose Quality
  19. Choose from Menu
    MP3_128
  20. Choose from Menu
    MP3_320
  21. Choose from Menu
    Premium Only
  22. Choose from Menu
    Get Premium
  23. Open URLs
  24. Choose from Menu
    Get Help from Telegram
  25. Open URLs
  26. Stop This Shortcut
  27. Choose from Menu
    FLAC - from another source
  28. Open URLs
  29. Stop This Shortcut
  30. If
  31. Show Notification
    Failed to Find Track ID! This only supports Spotify track.
  32. Stop This Shortcut
  33. Text
  34. Get Contents of URL
    …
  35. Get Dictionary Value
  36. Get Contents of URL
    …
  37. Get Name
  38. Get Details of Files
  39. If
  40. Set Name
  41. If
  42. Get Variable
  43. Save File
  44. Choose from Menu
    What's next?
  45. Choose from Menu
    Get Spotify Downloader HQ Shortcut
  46. URL
    https://chrunos.com/premium-shortcuts/#spotify+downloader
  47. Open URLs
  48. Choose from Menu
    Buy me a Coffee
  49. URL
    https://chrunos.com/donate/
  50. Open URLs
  51. Choose from Menu
    Check Updates and Spotify Playlist Downloader shortcut
  52. URL
    https://chrunos.com/spotify-shortcuts-ios/#spotify+playlist+downloader
  53. Open URLs
  54. Choose from Menu
    Submit Feedback
  55. Open URLs
  56. Choose from Menu
    Exit

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 darkblue

// Version: 2.7

/*
Created by Cody Chrunos
My website: chrunos.com
Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
*/
downloadURL("https://raw.githubusercontent.com/CodyChrunos/Shortcuts/main/spotifytomp3.json")
@update
const Text = "3.0"

if Text !=  {
	menu  {
	item "Update Now":
		openURL(@update)
		stop()
	item "Not Now":
	}
} else {
	const Matches = containsText(ShortcutInput, "(?:https://open\.spotify\.com/track/|spotify:track:)([a-zA-Z0-9]+)")
	const Text1 = getMatchGroup(Matches, 0)
	if Text1 {
		menu "Choose Quality" {
		item "MP3_128":
		item "MP3_320":
			menu "Premium Only" {
			item "Get Premium":
				openURL("https://chrunos.com/premium-shortcuts/")
			item "Get Help from Telegram":
				openURL("https://t.me/chrunoss")
			}
			stop()
		item "FLAC - from another source":
			openURL("https://chrunos.com/premium-shortcuts/")
			stop()
		}
	} else {
		showNotification("Failed to Find Track ID! This only supports Spotify track.", false, Text1)
		stop()
	}
	const ContentsOfURL = downloadURL()
	const ContentsOfURL1 = downloadURL()
	getName(ContentsOfURL1)
	const FileExtension = getFileDetail(nil, "File Extension")
	if FileExtension == "mp4" {
		setName(ContentsOfURL1, "{}.m4a")
	} else {
		// TODO: Get Variable not supported: Assign variable here to 'ContentsOfURL1'.
	}
	saveFilePrompt(IfResult)
}

menu "What's next?" {
item "Get Spotify Downloader HQ Shortcut":
	const URL = url("https://chrunos.com/premium-shortcuts/#spotify+downloader")
	openURL(URL)
item "Buy me a Coffee":
	const URL1 = url("https://chrunos.com/donate/")
	openURL(URL1)
item "Check Updates and Spotify Playlist Downloader shortcut":
	const URL2 = url("https://chrunos.com/spotify-shortcuts-ios/#spotify+playlist+downloader")
	openURL(URL2)
item "Submit Feedback":
	openURL("https://t.me/chrunoss")
item "Exit":
}
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é