ShareShortcuts

SoundCloud To MP3

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

pola
„SoundCloud To MP3“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit pola die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
28K
Gesichert
0
Aktionen
35
Kategorie
Music
Version
1.0
Sprache
EN

SoundCloud To Mp3

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

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 27. Dez 2023

First release

Was er macht

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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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)
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Werbung

Mehr von pola

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung