Skip to content

sqdnoises/PyVid-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyVid Simple

MIT license Python language Trivago hotel

Simple command line app/tool to download youtube videos easily!

Getting Started

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.

Requirements

You need Python 3.6+ for this to work.
This program uses the yt-dlp package.

Install pip Requirements

Open a terminal in the folder this readme is in.

On Windows:

Make sure python is on path and pip was installed in python installation.
Run:

python -m pip install -r requirements.txt

On MacOS/Linux:

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

To run

Open a terminal in the src folder.

On windows:

Make sure python is on path.
Run:

py pyvid.py

On MacOS/Linux:

Make sure python3 is on path.
Run:

python3 pyvid.py

To use

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

download youtube video from link

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.

download first video from search

To download first video from search, type + before what you want to search.
The download should start automatically after a video is found.

exit the program

Type exit to exit or press Ctrl + C on your keyboard to exit.

Examples

$ 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

$