ShareShortcuts
Fork “Yt-dlp Download”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så pola får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
30K
Gemt
1
Handlinger
26
Kategori
Foto og video
Version
1.0
Sprog
EN

How to use ===•••=== • Make sure that you have already installed a-shell app in AppStore.when you install it befor you download install yt-dlp • Go to youtube app and open your video that you like to download.tap share menu and choose more, than select the shortcut an run Or copy link and run into the shortcut. • Videos an audio will be saved in files app in a-shell folder. ===•••===•••===•••===•••=== • Made by: @Pola219 Rotinehube.co

Nyheder

Version 1.0

First release

Versionshistorik
1.0 12. nov. 2023

First release

Hvad den gør

26 handlinger
  1. Comment
    How to use ===•••=== • Make sure that you have already installed a-shell app in AppStore.when you install it befor you download install yt-dlp • Go to youtube app and open your video that you like to download.tap share menu and choose more, than sel…
  2. If
  3. Text
  4. Choose from Menu
    …
  5. Choose from Menu
    Video+Audio
  6. Comment
    ##Portions like these look pretty redundant, but a-shell crashes without using the get text node
  7. Text
  8. Execute Command
    AsheKube.app.a-Shell-mini
  9. Choose from Menu
    Audio Only
  10. Text
  11. Execute Command
    AsheKube.app.a-Shell-mini
  12. Comment
    Video and audio automaticlly will be save in files app in a-shell folder.👆
  13. If
  14. Choose from Menu
  15. Choose from Menu
    Paste youtube link
  16. Ask for Input
    What is your YouTube link?
  17. Choose from Menu
  18. Choose from Menu
    Video+Audio
  19. Text
  20. Execute Command
    AsheKube.app.a-Shell-mini
  21. Choose from Menu
    Audio Only
  22. Text
  23. Execute Command
    AsheKube.app.a-Shell-mini
  24. Choose from Menu
    install yt-dlp
  25. Text
  26. Execute Command
    AsheKube.app.a-Shell-mini

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#define color darkorange
#define glyph videoIcon

/*
How to use
===•••===
• Make sure that you have already installed a-shell app in AppStore.when you install it befor you download install yt-dlp

• Go to youtube app and open your video that you like to download.tap share menu and choose more, than select the shortcut an run Or copy link and run into the shortcut.

• Videos an audio will be saved in files app in a-shell folder.
===•••===•••===•••===•••===
• Made by: @Pola219 Rotinehube.co
*/

if ShortcutInput {
	menu  {
	item "Video+Audio":
		// ##Portions like these look pretty redundant, but a-shell crashes without using the get text node

		const Text = "yt-dlp -f (mp4) {ShortcutInput} -o \\"~/Documents/Youtube_dl/%(channel)s/%(title)s.%(ext)s\"
		rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
			"command": "Text"
		})
	item "Audio Only":
		const Text1 = "yt-dlp -x --audio-format mp3 {ShortcutInput}  -o \\"~/Documents/Youtube_dl/%(channel)s/%(title)s.%(ext)s\"
		rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
			"command": "Text1"
		})
		// Video and audio automaticlly will be save in files app in a-shell folder.👆

	}
} else {
	menu nil {
	item "Paste youtube link":
		prompt("What is your YouTube link?", "URL")
		menu "" {
		item "Video+Audio":
			const Text2 = "yt-dlp -f (mp4) {} -o \\"~/Documents/Youtube_dl/%(channel)s/%(title)s.%(ext)s\"
			rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
				"command": "Text2"
			})
		item "Audio Only":
			const Text3 = "yt-dlp -x --audio-format mp3 {}  -o \\"~/Documents/Youtube_dl/%(channel)s/%(title)s.%(ext)s\"
			rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
				"command": "Text3"
			})
		}
	item "install yt-dlp":
		const Text4 = "pip install --upgrade yt-dlp\nopen shortcuts://"
		rawAction("AsheKube.app.a-Shell-mini.ExecuteCommandIntent", {
			"command": "Text4"
		})
	}
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra pola

Se alle

Du vil måske også kunne lide

Se alle
Annonce