youtube-extra
Goal is to implement some extra useful functionality using youtube data api.
Functionality available
Generate playlist videos html page
Main goal is to be able to sort playlist videos by videos statistics data (views, likes, dislikes, comments)
Generate channel subscriptions html page
Youtube allows to access only your own subscriptions. Main goal to see which subscriptions ara active and which aren't.
Installation
curl -Lo ~/bin/youtube-extra https://raw.githubusercontent.com/minosiants/youtube-extra/master/youtube-extra
chmod 777 ~/bin/youtube-extra
How to use
playlist
youtube-extra playlist -id {playlistId} -t {oauth token}
-id - playlist id from youtube
-t - oauth token (see instuctons below)
subscriptions
youtube-extra subscriptions -id {channel id} -t {oauth token}
-id - channel id from youtube
-t - oauth token (see instuctons below)
example
youtube-extra playlist -id PLLMLOC3WM2r5KDwkSRrLJ1_O6kZqlhhFt -t ya29.ImS9ByJmfJwEzLMvajfDecCxMcHUb5QEOhO_ZDi7XELLhcbzFiNb9UzwRcVqVa1KxlQU27z9xFO_m57lK1vkeC17PxVVFuFo_9Nn4YPb00aRHJbNQXhF77KMDS-Qhpo6zOFnnArf
How to get oauth token
- Go to https://tinyurl.com/vltl9p
- Execute a request in web console
- Copy token from Authorization header