Produces YouTube Metadata including stream links.
import youtube_md
url = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
video = youtube_md.metadata(url)
print(video.url())
print(video.title())
print(video.thumbnail())
wget https://raw.githubusercontent.com/davidtressler/youtube_md/master/youtube_md.py
sudo -H pip install --upgrade youtube-dl
https://github.com/ytdl-org/youtube-dl
https://addons.mozilla.org/en-GB/firefox/addon/cookies-txt/This program will produce YouTube Metadata for videos similar to https://pypi.org/project/pafy/
But with the ability to use the -cookies cookies.txt command to fix the 429 issue
Visit youtube.com with a computer that is not producing the 429 issue and save the cookies.txt from the firefox plugin, Then place into the same location as the youtube_md.py