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.0.tar.gz
(7.4 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.0.tar.gz.
File metadata
- Download URL: MyTube-dlp-1.0.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37a95b8a6e08820a1cb689983efb4bc4dc0189369232523e85f7e46413f47b65
|
|
| MD5 |
fcbf8bc30705e9d96e83ade826d43745
|
|
| BLAKE2b-256 |
3a79cbeedee46be9a329ae47b984ec154e65030b6954213e29ca482fbe191e39
|
File details
Details for the file MyTube_dlp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: MyTube_dlp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.6 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 |
83a30b904d400faae002506801599468316c3062d1369d66f029b531857bff6f
|
|
| MD5 |
68b8beae1f04dcc56b06db801d460bcd
|
|
| BLAKE2b-256 |
1a7f2d7e62754306e5c9af587f016165548e796e4e7197da9f309a9de8810d59
|