ShareShortcuts

SoundCloud To MP3

SoundCloud To Mp3 You can copy the SoundCloud track link to run shortcut

pola
Fazer fork de “SoundCloud To MP3”

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 pola 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
29K
Salvo
1
Ações
35
Categoria
API
Versão
1.0
Idioma
EN

SoundCloud To Mp3 You can copy the SoundCloud track link to run shortcut. You can also use Share Sheet from SoundCloud App.

Novidades

Versão 1.0

First release

Histórico de versões
1.0 27 de dez de 2023

First release

O que ele faz

35 ações
  1. Dictionary
  2. Get Contents of URL
    https://updatekit.mikebeas.com/v1
  3. Get Dictionary Value
  4. If
  5. Choose from Menu
    New version available. What's new: … Press UPDATE to download latest version.
  6. Choose from Menu
    UPDATE
  7. Open URLs
  8. Stop This Shortcut
  9. Choose from Menu
    SKIP
  10. Nothing
  11. Random Number
  12. Text
  13. Set Variable
    Filename
  14. Comment
    SoundCloud To Mp3 Create by: Peymalv-Sh You can copy the SoundCloud track link to run shortcut. You can also use Share Sheet from SoundCloud App.
  15. Get URLs from Input
  16. Set Variable
    url
  17. Get Variable
  18. Match Text
  19. If
  20. Get Contents of URL
    https://videodownloaderguru.com
  21. Make HTML from Rich Text
  22. Match Text
  23. Replace Text
  24. Get Contents of URL
    https://videodownloaderguru.com/wp-json/aio-dl/video-data/
  25. Get Dictionary Value
  26. If
  27. Get Item from List
  28. If
  29. Get Item from List
  30. Get Dictionary Value
  31. Get URLs from Input
  32. Set Variable
    SongURL
  33. Get Contents of URL
    …
  34. Set Name
  35. Save File

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 blue
#define glyph musicNote

const UPDATE = jsonRequest("https://updatekit.mikebeas.com/v1", "POST", {
	"shortcut": {
		"id": "16924",
		"module": "routinehub",
		"version": "1.1"
	}
})
const Response = getValue(UPDATE, "update")

if Response ==  {
	menu "New version available. \nWhat's new: \n{UPDATE['payload.notes']}\nPress UPDATE to download latest version." {
	item "UPDATE":
		openURL(UPDATE['payload.download'])
		stop()
	item "SKIP":
	}
}
randomNumber(100, 9999)
@Filename = "SoundCloud-{}"
/*
SoundCloud To Mp3

Create by: Peymalv-Sh

You can copy the SoundCloud track link to run shortcut.

You can also use Share Sheet from SoundCloud App.

*/
getURLs(ShortcutInput)
@url
// TODO: Get Variable not supported: Assign variable here to '@url'.
const Matches = containsText(@url, "|soundcloud|")

if Matches {
	const ContentsOfURL = downloadURL("https://videodownloaderguru.com")
	makeHTML(ContentsOfURL)
	containsText(, "(?<=<input name=\")(.*?)(?=\" type=\"hidden\" value=\")(.*?)(?=\" \/>)")
	const Token = replaceText(">|name|token|value|=|\"| ", "", false, true)
	const ContentsOfURL1 = formRequest("https://videodownloaderguru.com/wp-json/aio-dl/video-data/", "POST", {
		"token": "{Token}",
		"url": "{@url}"
	})
	const DictionaryValue = getValue(ContentsOfURL1, "medias")
	if DictionaryValue['Name'] contains "\"extension\":\"mp4\"" {
		getLastItem(DictionaryValue)
	} else {
		getRandomItem(DictionaryValue)
	}
	getURLs()
	@SongURL
	const ContentsOfURL2 = downloadURL(@SongURL)
	const RenamedItem = setName(ContentsOfURL2, @Filename)
	saveFile("SNC MP3/{}.mp3", RenamedItem)
}
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 pola

Ver tudo

Você também pode gostar

Ver tudo
Publicidade