Skip to content

Latest commit

 

History

History
61 lines (51 loc) · 1.81 KB

README.md

File metadata and controls

61 lines (51 loc) · 1.81 KB

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:

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