From ea9b2ace6915fca46a697f3b08280a7234362809 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 4 Jan 2018 13:44:05 -0400 Subject: document youtube channels, not playlists The feeds for playlists seem pretty broken, since they have the oldest items first and are truncated, so after a few dozen items, new items never appear on them. Channel feeds don't currently have this breakage (although perhaps Google will find a way to break them eventually..) --- doc/tips/downloading_podcasts.mdwn | 16 ++++++++-------- doc/tips/using_the_web_as_a_special_remote.mdwn | 10 +++++----- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/tips/downloading_podcasts.mdwn b/doc/tips/downloading_podcasts.mdwn index 13b8300db..7416281d2 100644 --- a/doc/tips/downloading_podcasts.mdwn +++ b/doc/tips/downloading_podcasts.mdwn @@ -71,18 +71,18 @@ downloads upstream by podcatching to a server with ample bandwidth or work around a slow local Internet connection by podcatching to your home server and transferring to your laptop on demand. -## youtube playlists +## youtube channels -You can also use `git annex importfeed` on youtube playlists. +You can also use `git annex importfeed` on youtube channels. It will use [youtube-dl](https://rg3.github.io/youtube-dl/) to automatically -download the videos linked to by the playlist. +download the videos. -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 +To download a youtube channel, you need to find the feed associated with that +channel, 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" +manually. For a channel url like +"https://www.youtube.com/channel/$foo", the +feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo" ## 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 8bd9c7457..5e066c918 100644 --- a/doc/tips/using_the_web_as_a_special_remote.mdwn +++ b/doc/tips/using_the_web_as_a_special_remote.mdwn @@ -90,12 +90,12 @@ quality videos from YouTube. Note that the youtube-dl configuration files are not read when git-annex runs youtube-dl, to avoid config settings that break its integration. -To download a youtube playlist, you need to find the RSS feed associated with -that playlist, and pass it to `git annex importfeed`. There does not seem to +To download a youtube channel, you need to find the RSS feed associated with +that channel, and pass it to `git annex importfeed`. There does not seem to be an easy link anywhere to get the RSS 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" +manually. For a channel like +"https://www.youtube.com/channel/$foo", the +feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo" ## bittorrent -- cgit v1.2.3