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())
See also:
💲Donate
|
|
Donatello |
|
|
Donation Alerts |
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-4.0.2.tar.gz
(12.5 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-4.0.2.tar.gz.
File metadata
- Download URL: mytube_dlp-4.0.2.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d8b23b9f3be1cf517ea265e64a6e278b718117c7211c508ddb2a5dec9a7d172
|
|
| MD5 |
f56e1525a15af368ac63aa8db0f80afc
|
|
| BLAKE2b-256 |
ba862feb3c50e1958b17492a0c9a1c3b6379767a724ed4190a36707397c5093d
|
File details
Details for the file mytube_dlp-4.0.2-py3-none-any.whl.
File metadata
- Download URL: mytube_dlp-4.0.2-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f4c903ceec7294d0aaf1b8fde8b7b0dd91539742fe8cbdf563d44e2cc984295
|
|
| MD5 |
93145d9850520fa74e45c64262a5d8e1
|
|
| BLAKE2b-256 |
0970465dbc51920ddad22c7af3455d54c04e7046e2d3075c8c82221d755cec56
|