This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A tiny youtube video downloader. | |
usage: yt.py [-h] [--only-audio] [--num_retries NUM_RETRIES] [--output OUTPUT] video_url | |
Built by Abigail Adegbiji on April 7, 2024. | |
Inspried by this blog post: https://tyrrrz.me/blog/reverse-engineering-youtube-revisited | |
Note that the get_video_info function will be subject to change when Youtube changes their api. | |
Also note that ffmpeg and ffmpeg-python are required dependencies. | |
""" |