ShareShortcuts

AM Downloader 2.1

chrunos
Fork “AM Downloader 2.1”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so chrunos gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
31K
Saved
2
Actions
50
Category
Music
Version
1.0
Language
EN

Do you want to download songs from Apple Music without DRM protection and play them on any device? If yes, then you need to check out this shortcut.

You can choose to download songs in m4a with artwork or mp3 without artwork. Learn more ways to download songs from Apple Music.

What's New

Version 1.0

First release

Version History
1.0 Sep 21, 2023

First release

What it does

50 actions
  1. Comment
    Version: 2.1
  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. Number
  4. Match Text
  5. Get Item from List
  6. Searchitunes
  7. Properties Itunesstore
  8. Set Variable
    artist
  9. Properties Itunesstore
  10. Set Variable
    name
  11. Properties Itunesstore
  12. Set Variable
    Artwork
  13. Text
  14. Set Variable
    QueryTerms
  15. URL Encode
  16. Text
  17. Get Contents of URL
    …
  18. Get Dictionary Value
  19. Get Dictionary Value
  20. Get Dictionary Value
  21. Set Variable
    VideoID
  22. URL
    https://upull.me/
  23. Get Contents of URL
    …
  24. Make HTML from Rich Text
  25. Match Text
  26. Get Group from Matched Text
  27. URL
    https://upull.me/yt/api/…?sig=…
  28. Get Contents of URL
    …
  29. Get Dictionary Value
  30. URL
    https://upull.me/yt/conv/…/….mp3
  31. Get Contents of URL
    …
  32. If
  33. Get Contents of URL
    …
  34. Encode Media
  35. Set Name
  36. Save File
  37. If
  38. Set Name
  39. Save File
  40. Choose from Menu
    What's Next?
  41. Choose from Menu
    Get AM Downloader HQ Shortcut
  42. URL
    https://chrunos.com/premium-shortcuts/
  43. Open URLs
  44. Choose from Menu
    Get More Useful Shortcuts
  45. URL
    https://chrunos.com/top-siri-shortcuts/
  46. Open URLs
  47. Choose from Menu
    Support the Author
  48. URL
    https://chrunos.com/donate/
  49. Open URLs
  50. Choose from Menu
    Exit

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define glyph musicNote

// Version: 2.1

/*
Created by Cody Chrunos
My website: chrunos.com
Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
*/
const Number = 1
const Matches = containsText(ShortcutInput, "(\d+){8,11}")
getListItems(Matches, 0, 0)
rawAction("is.workflow.actions.searchitunes", {
	"WFAttribute": "Product ID",
	"WFSearchTerm": "{}"
})
rawAction("is.workflow.actions.properties.itunesstore", {
	"WFContentItemPropertyName": "Artist",
	"WFInput": "ITunesProducts"
})
@artist
rawAction("is.workflow.actions.properties.itunesstore", {
	"WFContentItemPropertyName": "Name",
	"WFInput": "ITunesProducts"
})
@name
rawAction("is.workflow.actions.properties.itunesstore", {
	"WFContentItemPropertyName": "Artwork URL",
	"WFInput": "ITunesProducts"
})
@Artwork
@QueryTerms = "{}+{}\n"
urlEncode(@QueryTerms)
const ContentsOfURL = downloadURL()
const DictionaryValue = getValue(ContentsOfURL, "items")
const DictionaryValue1 = getValue(DictionaryValue, "id")
@VideoID = DictionaryValue1['videoId']
url("https://upull.me/")
const ContentsOfURL1 = downloadURL()
makeHTML(ContentsOfURL1)
const Matches1 = containsText(, "value=\"([^\"]+)\"")
getMatchGroup(Matches1, 0)
url("https://upull.me/yt/api/{@VideoID}?sig={}")
const ContentsOfURL2 = downloadURL()
url("https://upull.me/yt/conv/{}/{@VideoID}.mp3")
const ContentsOfURL4 = downloadURL()

if Number == 1 {
	const ContentsOfURL3 = downloadURL(@Artwork)
	const EncodedMedia = setMetadata(ContentsOfURL4, ContentsOfURL3, @name, @name)
	const RenamedItem = setName(EncodedMedia, "{@name} - {@artist}")
	saveFilePrompt(RenamedItem)
} else {
	const RenamedItem1 = setName(ContentsOfURL4, "{@name} - {@artist}")
	saveFilePrompt(RenamedItem1)
}

menu "What's Next?" {
item "Get AM Downloader HQ Shortcut":
	const URL = url("https://chrunos.com/premium-shortcuts/")
	openURL(URL)
item "Get More Useful Shortcuts":
	const URL1 = url("https://chrunos.com/top-siri-shortcuts/")
	openURL(URL1)
item "Support the Author":
	const URL2 = url("https://chrunos.com/donate/")
	openURL(URL2)
item "Exit":
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Advertisement

More by chrunos

See All

You Might Also Like

See All
Advertisement