ShareShortcuts
Создать форк «AM Downloader 2.1»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы chrunos получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
31K
Сохранено
2
Действия
50
Категория
Music
Версия
1.0
Язык
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.

Что нового

Версия 1.0

First release

История версий
1.0 21 сен 2023 г.

First release

Что делает

Действий: 50
  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

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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}")
getLastItem(Matches)
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":
}
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от chrunos

См. все

Вам также может понравиться

См. все
Реклама