Skip to content

YouTube Metadata. Produces metadata from a Youtube URL including a stream link

Notifications You must be signed in to change notification settings

davidtressler/youtube_md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

youtube_md

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())

Install

wget https://raw.githubusercontent.com/davidtressler/youtube_md/master/youtube_md.py

Requirements

YouTube_dl

sudo -H pip install --upgrade youtube-dl

https://github.com/ytdl-org/youtube-dl

Firefox and Cookies Add-On

https://addons.mozilla.org/en-GB/firefox/addon/cookies-txt/

About

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

About

YouTube Metadata. Produces metadata from a Youtube URL including a stream link

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages