Simple command line app/tool to download youtube videos easily!
Clone this repository or download the zip and extract it to a folder you like.
(ℹ) This program downloads to the folder you start the program in.
You need Python 3.6+ for this to work.
This program uses the yt-dlp
package.
Open a terminal in the folder this readme is in.
Make sure python is on path and pip was installed in python installation.
Run:
python -m pip install -r requirements.txt
Make sure python3 is on path.
(If this command gives an error saying no module named pip or something, make sure any python pip related packages are installed.)
Run:
python3 -m pip install -r requirements.txt
Open a terminal in the src folder.
Make sure python is on path.
Run:
py pyvid.py
Make sure python3 is on path.
Run:
python3 pyvid.py
It's easy to use this.
After running it, you can either:
- download youtube video from link
- download first video from search
- exit the program
To download a youtube video from link, just type or paste the link and press enter.
The download should start automatically if the video exists.
To download first video from search, type +
before what you want to search.
The download should start automatically after a video is found.
Type exit
to exit or press Ctrl
+ C
on your keyboard to exit.
$ python3 pyvid.py
type `exit` or press ctrl + c to exit
[0] enter youtube link to download or download first search result by +<what to search>
> https://www.youtube.com/watch?v=dQw4w9WgXcQ
your input: `https://www.youtube.com/watch?v=dQw4w9WgXcQ`
... download progress ...
[0] download for `https://www.youtube.com/watch?v=dQw4w9WgXcQ` complete
[1] enter youtube link to download or download first search result by +<what to search>
> +funeral - back2sleep (lyrics)
your input: `+funeral - back2sleep (lyrics)`
... download progress ...
[1] download for `funeral - back2sleep (lyrics)` complete
[2] enter youtube link to download or download first search result by +<what to search>
> + wenomechainsama full video
your input: `+ wenomechainsama full video`
... download progress ...
[2] download for `wenomechainsama full video` complete
[3] enter youtube link to download or download first search result by +<what to search>
> exit
your input: `exit`
exited loop
$