Download YouTube videos as MP4 files
Project description
yt2mp4
Download YouTube videos as MP4 files
Get geckodriver
Linux (Debian)
sudo apt install firefox-geckodriver -y
Other
Figure it yourself
Installation
From PyPI
pip3 install yt2mp4
From GitHub
pip3 install git+https://github.com/donno2048/yt2mp4
Usage
In Python
from yt2mp4 import download
download("dQw4w9WgXcQ", outname='output.mp4') # dowload video from https://www.youtube.com/watch?v=dQw4w9WgXcQ and name it output.mp4
# will also work:
# download("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
# download("https://youtu.be/dQw4w9WgXcQ")
In cmd
yt2mp4 # or python3 -m yt2mp4
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yt2mp4-1.0.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
yt2mp4-1.0.0-py3-none-any.whl
(3.4 kB
view hashes)