Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.37 KB

README.md

File metadata and controls

43 lines (24 loc) · 1.37 KB

Youtube-dl + Aria2 😉

This is a Shell Script I've created to easily use youtube-dl and aria2 simple use.

  • Make Sure you have youtube-dl and aria2
  • Make Sure you add this file in your path

Dependencies

Commands

"yt -s link" will show you all the available subtitles.

Ex: yt -s https://www.youtube.com/watch?v=xxxxxx

"yt -l lang link" will download your desire subtitle only.

Ex: yt -l en https://www.youtube.com/watch?v=xxxxxx

"yt -s lang video-id audio-id link number-of-splites" will download video and audio with subtitle

Ex: yt -s en 136 140 https://www.youtube.com/watch?v=xxxxxx 16

"yt link" will show you the video and audio id, or If this is a m3u3 file (hls) then it will start downloading immediately and faster!

Ex: yt https://www.youtube.com/watch?v=xxxxxxx or, yt https://something.something.m3u3

"yt video-id audio-id link number-of-splites" will use aria2 and youtube-dl to download and merge the file.

Ex: yt best best https://www.youtube.com/watch?v=xxxxxxx 8 or, yt 136 140 https://www.youtube.com/watch?v=xxxxxxx 8

"yt video-id or audio-id link number-of-splites" will use aria2 and youtube-dl to download only video or audio.

Ex: yt 124 https://www.youtube.com/watch?v=xxxxxxxx 8

That's it.

Enjoy