ShareShortcuts

yt-dlp mac

Yt-dlp shortcut for Mac

chrunos
Dupliquer « yt-dlp mac »

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 chrunos 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
15K
Enregistré
0
Actions
32
Catégorie
Photos and videos
Version
1.0
Langue
EN

Yt-dlp shortcut for Mac. Supports private videos downloading. Requires ffmpeg installed if you want to download 4k/8k videos.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 20 avr. 2025

First release

Ce qu’il fait

32 actions
  1. Comment
    Created by Cody Chrunos My website: chrunos.com Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
  2. Text
  3. Choose from Menu
  4. Choose from Menu
    Compatible Download
  5. Run Shell Script
  6. Choose from Menu
    Download Audio Only
  7. Run Shell Script
  8. Choose from Menu
    Download Video Best Quality - Up to 8K
  9. Run Shell Script
  10. Choose from Menu
    Download Private Video
  11. Choose from Menu
    Choose The Browser You Logged In
  12. Choose from Menu
    Safari
  13. Text
  14. Choose from Menu
    Edge
  15. Text
  16. Choose from Menu
    Chome
  17. Text
  18. Choose from Menu
    Firefox
  19. Text
  20. Run Shell Script
  21. Choose from Menu
    Best Quality and H.264 Conversion - Slower
  22. Run Shell Script
  23. Choose from Menu
    Downloaded. What's Next?
  24. Choose from Menu
    Get More Shortcuts
  25. URL
    https://chrunos.com/top-siri-shortcuts/
  26. Open URLs
  27. Choose from Menu
    Contact me on Telegram
  28. URL
    https://t.me/+fd82OOpm6zNjNDhl
  29. Open URLs
  30. Choose from Menu
    Check the Premium Shortcuts
  31. Open URLs
  32. Choose from Menu
    Exit

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 mac true
#include 'actions/mac'
#define color green

/*
Created by Cody Chrunos
My website: chrunos.com
Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
*/

menu nil {
item "Compatible Download":
	runShellScript("cd ~/Downloads\nexport PATH=/opt/homebrew/bin/:$PATH\nTEMP_DIR=$(mktemp -d)\npython3 -m venv \"$TEMP_DIR/venv\"\nsource \"$TEMP_DIR/venv/bin/activate\"\npip3 install --upgrade yt-dlp\nyt-dlp -f 'bestvideo[ext=mp4][vcodec^=avc]+bestaudio/best' --merge-output-format mp4 '{}'\ndeactivate\nrm -rf \"$TEMP_DIR\"")
item "Download Audio Only":
	runShellScript("cd ~/Downloads\nexport PATH=/opt/homebrew/bin/:$PATH\nTEMP_DIR=$(mktemp -d)\npython3 -m venv \"$TEMP_DIR/venv\"\nsource \"$TEMP_DIR/venv/bin/activate\"\npip3 install --upgrade yt-dlp\nyt-dlp -x --audio-format mp3 '{}'\ndeactivate\nrm -rf \"$TEMP_DIR\"\n")
item "Download Video Best Quality - Up to 8K":
	runShellScript("cd ~/Downloads\nexport PATH=\"/opt/homebrew/bin:$PATH\"\nTEMP_DIR=$(mktemp -d)\npython3 -m venv \"$TEMP_DIR/venv\"\nsource \"$TEMP_DIR/venv/bin/activate\"\npip3 install --upgrade yt-dlp\nyt-dlp -f 'bestvideo+bestaudio/best' --merge-output-format mp4 \"{}\"\ndeactivate\nrm -rf \"$TEMP_DIR\"")
item "Download Private Video":
	menu "Choose The Browser You Logged In " {
	item "Safari":
	item "Edge":
	item "Chome":
	item "Firefox":
	}
	runShellScript("cd ~/Downloads\nexport PATH=/opt/homebrew/bin/:$PATH\nTEMP_DIR=$(mktemp -d)\npython3 -m venv \"$TEMP_DIR/venv\"\nsource \"$TEMP_DIR/venv/bin/activate\"\npip3 install --upgrade yt-dlp\nyt-dlp --cookies-from-browser {} '{}'\ndeactivate\nrm -rf \"$TEMP_DIR\"")
item "Best Quality and H.264 Conversion - Slower":
	runShellScript("cd ~/Downloads\nexport PATH=\"/opt/homebrew/bin:$PATH\"\nTEMP_DIR=$(mktemp -d)\npython3 -m venv \"$TEMP_DIR/venv\"\nsource \"$TEMP_DIR/venv/bin/activate\"\npip3 install --upgrade yt-dlp\n\n# Download and convert to macOS-friendly H.264/AAC\nyt-dlp -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' \\n  --merge-output-format mp4 \\n  --postprocessor-args \"ffmpeg:-c:v libx264 -c:a aac\" \\n  --recode-video mp4 \\n  \"{}\"\n\ndeactivate\nrm -rf \"$TEMP_DIR\"")
}

menu "Downloaded. What's Next?" {
item "Get More Shortcuts":
	const URL = url("https://chrunos.com/top-siri-shortcuts/")
	openURL(URL)
item "Contact me on Telegram":
	const URL1 = url("https://t.me/+fd82OOpm6zNjNDhl")
	openURL(URL1)
item "Check the Premium Shortcuts":
	openURL("https://chrunos.com/premium-shortcuts/")
item "Exit":
}
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 chrunos

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité