ShareShortcuts

Yt-dlp Download

pola
Dupliquer « Yt-dlp Download »

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
30K
Enregistré
1
Actions
26
Catégorie
Photos and videos
Version
1.0
Langue
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

Nouveautés

Version 1.0

First release

Historique des versions
1.0 12 nov. 2023

First release

Ce qu’il fait

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

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.

#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"
		})
	}
}
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é