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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yt2mp4-1.0.0.tar.gz.
File metadata
- Download URL: yt2mp4-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8dde6e6802d7b36a2a71daf8be3a77e7e85170f6a85238f8d03f44c773d5365
|
|
| MD5 |
b276ffa00323dac9128d9899299cdc1c
|
|
| BLAKE2b-256 |
5e3f66b69a4ffb59c0c53dfb01cecd5116a2b791e8a2a5bb31b081ba74fc1e62
|
File details
Details for the file yt2mp4-1.0.0-py3-none-any.whl.
File metadata
- Download URL: yt2mp4-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db8c746dd06fbe3686a38711c8a31bbe212a10784545b6459c01a4751e6d2e42
|
|
| MD5 |
e2bbe4d112bfcd788420958bca818086
|
|
| BLAKE2b-256 |
d29783e2ea0defc23fc08420c19e29fc34df59b3ffdd33fa43c00a94d602d8bb
|