From 8f41a1b7ce99924d45ff2ded8291b53f015994bf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 28 Nov 2017 13:30:05 -0400 Subject: [PATCH] update youtube playlist docs --- doc/tips/downloading_podcasts.mdwn | 15 +++++++++------ doc/tips/using_the_web_as_a_special_remote.mdwn | 5 +---- doc/todo/switch_from_quvi_to_youtube-dl.mdwn | 4 ++++ 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/doc/tips/downloading_podcasts.mdwn b/doc/tips/downloading_podcasts.mdwn index 2926c67100..70fbc0277c 100644 --- a/doc/tips/downloading_podcasts.mdwn +++ b/doc/tips/downloading_podcasts.mdwn @@ -73,13 +73,16 @@ and transferring to your laptop on demand. ## youtube playlists -If your git-annex is also built with quvi support, you can also use -`git annex importfeed` on youtube playlists. It will automatically download -the videos linked to by the playlist. +You can also use `git annex importfeed` on youtube playlists. +It will use quvi to automatically download the videos linked to +by the playlist. -For this you need an rss file containing links to the videos. -For example, this url currently works: - +To download a youtube playlist, you need to find the feed associated with that +playlist, and pass it to `git annex importfeed`. There does not seem to be +an easy link anywhere to get the feed, but you can construct its url +manually. For a playlist like +"https://www.youtube.com/playlist?list=PL4F80C7D2DC8D9B6C", the +feed is "https://www.youtube.com/feeds/videos.xml?playlist_id=PL4F80C7D2DC8D9B6C" ## metadata diff --git a/doc/tips/using_the_web_as_a_special_remote.mdwn b/doc/tips/using_the_web_as_a_special_remote.mdwn index 2dc3419ad3..4c359d3cc2 100644 --- a/doc/tips/using_the_web_as_a_special_remote.mdwn +++ b/doc/tips/using_the_web_as_a_special_remote.mdwn @@ -99,10 +99,7 @@ playlist, and pass it to `git annex importfeed`. There does not seem to be an easy link anywhere to get the feed, but you can construct its url manually. For a playlist like "https://www.youtube.com/playlist?list=PL4F80C7D2DC8D9B6C", the -feed is "http://gdata.youtube.com/feeds/api/playlists/PL4F80C7D2DC8D9B6C" - -More details about youtube feeds at --- `git-annex importfeed` should handle all of them. +feed is "https://www.youtube.com/feeds/videos.xml?playlist_id=PL4F80C7D2DC8D9B6C" ## bittorrent diff --git a/doc/todo/switch_from_quvi_to_youtube-dl.mdwn b/doc/todo/switch_from_quvi_to_youtube-dl.mdwn index 82d61804ac..145d61a33d 100644 --- a/doc/todo/switch_from_quvi_to_youtube-dl.mdwn +++ b/doc/todo/switch_from_quvi_to_youtube-dl.mdwn @@ -39,6 +39,10 @@ playlists. Best option seems to be `--playlist-items 0` which works for non-playlists, and downloads only 1 item from playlists (hopefully a fairly stable item, but who knows..). +(`git annex importfeed` handles youtube playlist downloads, but needs the +user to find the url to the rss feed for the playlist. Youtube still has +these, although it makes them hard to find.) + Another gotcha is that youtube-dl's -o option does not fully determine the filename it downloads to. Sometims it will tack on an additional extension (seen with youtube videos where it added a ".mkv").