Advertisement
xe1phix

Xe1phix-[YouTube-dl]-Bashrc-Cheatsheet-[v8.4.84].sh

Mar 9th, 2024
1,937
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.58 KB | Music | 1 0
  1. #!/bin/sh
  2. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  3. alias ytdlaudio="youtube-dl --verbose --force-ipv4 --continue --extract-audio --audio-format mp3 --ffmpeg-location /usr/bin/ffmpeg --newline -o '%(title)s.%(ext)s' $1"
  4. alias ytdlaplaylist="youtube-dl --verbose --force-ipv4 --continue --extract-audio --audio-format mp3 --ffmpeg-location /usr/bin/ffmpeg --newline -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' $1"
  5. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  6. alias ytdlvideo="youtube-dl --verbose --continue --force-ipv4 --ffmpeg-location /usr/bin/ffmpeg --newline -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -o '%(title)s.%(ext)s' $1"
  7. alias ytdlvplaylist="youtube-dl --verbose --continue --force-ipv4 --ffmpeg-location /usr/bin/ffmpeg --newline --print-traffic -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' $1"
  8. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  9. ##
  10. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  11. ## Download Single Video,Using OpenVPN SOCKS5 Proxy Then Convert To MP3:
  12. alias ytdlopenvpnaudio="youtube-dl --verbose --force-ipv4 --proxy socks5://10.8.0.1:1080 --continue --extract-audio -f 'bestaudio/best' --ffmpeg-location /usr/bin/ffmpeg --newline -o '%(title)s.%(ext)s' $1"
  13. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  14. ## Download Single Video, Wireguard SOCKS5 Proxy Then Convert To MP3:
  15. alias ytdlwireguardaudio="youtube-dl --verbose --force-ipv4 --proxy socks5://10.64.0.1:1080 --continue --extract-audio -f 'bestaudio/best' --ffmpeg-location /usr/bin/ffmpeg --newline -o '%(title)s.%(ext)s' $1"
  16. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  17. ## Download Entire Playlist Using OpenVPN SOCKS5 Proxy Then Convert To MP3:
  18. alias ytdlaplaylistopenvpn="youtube-dl --verbose --force-ipv4 --proxy socks5://10.8.0.1:1080 --continue --extract-audio -f 'bestaudio/best' --ffmpeg-location /usr/bin/ffmpeg --newline -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' $1"
  19. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  20. ## Download Entire Playlist Using Wireguard SOCKS5 Proxy Then Convert To MP3:
  21. alias ytdlaplaylistwireguard= "youtube-dl --verbose --force-ipv4 --proxy socks5://10.64.0.1:1080 --continue --extract-audio -f 'bestaudio/best' --ffmpeg-location /usr/bin/ffmpeg --newline -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' $1"
  22. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  23. ## Download Best Quality MP4 - Using Wireguard SOCKS5 Proxy:
  24. alias ytdlwireguardvideo="youtube-dl --verbose --continue --force-ipv4 --proxy socks5://10.64.0.1 --ffmpeg-location /usr/bin/ffmpeg --newline -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -o '%(title)s.%(ext)s' $1"
  25. ## ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ##
  26.  
  27.  
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement