diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-05-04 15:03:55 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-05-04 15:03:55 -0700 |
commit | ee374553f2ba385157eec9a816cf9b023fbfb18a (patch) | |
tree | 2972641f3de868f727f4210f97d461b4f4e1a2b5 /source/blog/2014-11-05-list-youtube-playlist-with-youtube-dl.md | |
parent | 301679861a2440a10c9eac746cec86459f445ef9 (diff) | |
download | my_new_personal_website-ee374553f2ba385157eec9a816cf9b023fbfb18a.tar.xz my_new_personal_website-ee374553f2ba385157eec9a816cf9b023fbfb18a.zip |
process post metadata
Diffstat (limited to 'source/blog/2014-11-05-list-youtube-playlist-with-youtube-dl.md')
-rw-r--r-- | source/blog/2014-11-05-list-youtube-playlist-with-youtube-dl.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blog/2014-11-05-list-youtube-playlist-with-youtube-dl.md b/source/blog/2014-11-05-list-youtube-playlist-with-youtube-dl.md index a0d8af7b..59bd1002 100644 --- a/source/blog/2014-11-05-list-youtube-playlist-with-youtube-dl.md +++ b/source/blog/2014-11-05-list-youtube-playlist-with-youtube-dl.md @@ -1,9 +1,7 @@ --- -layout: post title: "List YouTube playlist with youtube-dl" date: 2014-11-05 10:37:58 -0800 -comments: true -categories: +date-display: November 5, 2014 --- Of course you are always welcome to use the [Google APIs Client Library for Python](https://developers.google.com/api-client-library/python/) to wrestle with YouTube, which is usually pretty simple. (As an added bonus, YouTube has some [nice runnable sample scripts](https://developers.google.com/youtube/v3/code_samples/) to get you started.) With the client library, listing videos in a YouTube playlist is a breeze. @@ -49,7 +47,7 @@ https://youtube.com/v/qyE7-auTIcc There you go, a list of URIs you can use. Of course you can put this in a script to save some typing: -```bash youtube-ls-playlist.sh https://gist.github.com/zmwangx/0245788475f963210ed9 Gist +```bash #!/usr/bin/env bash # Takes a YouTube URI to a playlist (fairly liberal, it's fine as long # as the playlist id can be extracted), and prints a list of URIs in a |