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.0.2.tar.gz
(7.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-1.0.2.tar.gz.
File metadata
- Download URL: MyTube-dlp-1.0.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78c653b26d3571e7267a099032412b1440fec2c5e031d159b0926fad3d017e9d
|
|
| MD5 |
4620d433fe034c7fdbfe6f6e5b200204
|
|
| BLAKE2b-256 |
af959eb5be3cb4f582cce10d3d8f9b9ef6c788637ee4f1a7991627e4cbd375d9
|
File details
Details for the file MyTube_dlp-1.0.2-py3-none-any.whl.
File metadata
- Download URL: MyTube_dlp-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.7 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 |
69544cd140c28d2f02a3d4380b643dfa6aaaec8ca987d04bb534fd0815e8e5d9
|
|
| MD5 |
9b0af92f2068511d816d2a9d95d30ca9
|
|
| BLAKE2b-256 |
948f9541d572dede0f788622b807090fe20c0e8a6da96a904b487d06e1f59170
|