A youtube downloader. Uses the modules: "yt-dlp", "FFmpeg", "FFplay", and "FFprobe". These modules cannot be pip installed, they have to download externally. I have included these modules on this GitHub page. Make sure these four modules are stored where modules are normally stored to be referenced by your specific project.
yt-dlp
FFmpeg
FFplay
FFprobe
from __future__ import unicode_literals
import os
link = input("""What is the YouTube link?
>""")
os.system(f'yt-dlp {link}')
from __future__ import unicode_literals
import os
link = input("""What is the YouTube link?
>""")
os.system(f'yt-dlp -f bestaudio --extract-audio --audio-format mp3 --audio-quality 0 {link}')
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Suggesting changes are fine, however, be descriptive.