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())
Release files for mytube-dlp 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| MyTube-dlp-1.1.0.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| MyTube_dlp-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:16.3 kB
Release files / MyTube-dlp-1.1.0.tar.gz
| Download URL | MyTube-dlp-1.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e1b8f8a423523f32bbf08368852ccd77bbf0bfbe1bc7a81daa7013c28068546
|
|
BLAKE2b-256 checksum How to use checksums |
bcddea28167d12693f3475752f79c7fe89c2b5ac3bc7dbb0cd4ef7d73b410677
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / MyTube_dlp-1.1.0-py3-none-any.whl
| Download URL | MyTube_dlp-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8204ba4818c3ec1e407e2c70d36a1fa889ddae23c5603aa7bccefcf20be9aac
|
|
BLAKE2b-256 checksum How to use checksums |
03626f1c13787ac03aca30bfd9e417639b60dd09fd76ddb840b51e0b40bd2574
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|