Python YouTube Downloader
Project description
MyTube
MyTube is a wrapper around yt-dlp that is similar in functionality to pytube.
I made it because I was tired of pytube being unstable and throwing errors over time.
Requirements:
- FFMPEG installed in $PATH
Quick Start
pip install MyTube-dlp
import MyTube
import asyncio
async def main():
link = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
yt = MyTube.YouTube(link)
stream = yt.streams.filter(only_muxed=True).order_by("res").first()
file = await stream.download("downloads")
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
MyTube-dlp-1.2.0.tar.gz
(8.0 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 MyTube-dlp-1.2.0.tar.gz.
File metadata
- Download URL: MyTube-dlp-1.2.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
addccc903ee20355edcf5ae68186924f4a1062908516fdc5b40511f96c07a45c
|
|
| MD5 |
ae19a6728ebf14e6733b7c7f7f3c2eda
|
|
| BLAKE2b-256 |
b52ce797808663e9d7c913685c957cf17ed38c98bf84a2e0c6b9d94291b4e1b2
|
File details
Details for the file MyTube_dlp-1.2.0-py3-none-any.whl.
File metadata
- Download URL: MyTube_dlp-1.2.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45a9967d1c6e6d8b232f5963754f7c8c138976b2e69dd114bd539a92b41b9190
|
|
| MD5 |
f4910d2dd839b7c8f2a9933f22aa438a
|
|
| BLAKE2b-256 |
0442e406927d492698364e134bee4f79463fd2ecf5b541782776b0d570652116
|