ShareShortcuts

SoundCloud To MP3

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

pola
Dupliquer « SoundCloud 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 pola 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
28K
Enregistré
0
Actions
35
Catégorie
Music
Version
1.0
Langue
EN

SoundCloud To Mp3

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

Nouveautés

Version 1.0

First release

Historique des versions
1.0 27 déc. 2023

First release

Ce qu’il fait

35 actions
  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

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 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)
}
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 pola

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité