Skip to content

kurnyaannn/yutub-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yutub Downloader

Disclaimer

"For personal use, no it is not illegal to download YouTube video. But it is immoral."

Read this article for more.

Requirements

  • python 3.8+
  • pip
  • pytube 10.4.1

Installation

  • Clone this repository using git clone command (or just download the zip version).
  • Install pytube using pip.
    $ pip install pytube

Usage

  • Inside this project directory run
    $ python yutub.py
  • Copy & paste the YouTube URL

Config

  • Download Path

    The default Dowload path is set to $home/Downloads/Videos.

    To change this you can simply configure the file_path() function

    def file_path():
        ...
        download_path = os.path.join(home, '$YOUR_PATH')
        ...
  • Tips
    Make an alias in your shell / bash to make it more flexible, for example in my zsh

    #! $home/.zshrc
    alias your-alias="python /dir/to/this/project/yutub.py"

    Restart the shell and run

    $ your-alias

License

As you can see Yutub Downloader is under MIT License

About the Author

Yayang Kurnia.

About

Super lightweight YouTube Videos Downloader for you.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages