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..)
This commit is contained in:
Joey Hess 2018-01-04 13:44:05 -04:00
parent 24df95f0f6
commit cce732ad83
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 13 additions and 13 deletions

View file

@ -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 around a slow local Internet connection by podcatching to your home server
and transferring to your laptop on demand. 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 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 To download a youtube channel, you need to find the feed associated with that
playlist, and pass it to `git annex importfeed`. There does not seem to be 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 an easy link anywhere to get the feed, but you can construct its url
manually. For a playlist like manually. For a channel url like
"https://www.youtube.com/playlist?list=PL4F80C7D2DC8D9B6C", the "https://www.youtube.com/channel/$foo", the
feed is "https://www.youtube.com/feeds/videos.xml?playlist_id=PL4F80C7D2DC8D9B6C" feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo"
## metadata ## metadata

View file

@ -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 are not read when git-annex runs youtube-dl, to avoid config settings that
break its integration. break its integration.
To download a youtube playlist, you need to find the RSS feed associated with To download a youtube channel, you need to find the RSS feed associated with
that playlist, and pass it to `git annex importfeed`. There does not seem to 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 be an easy link anywhere to get the RSS feed, but you can construct its url
manually. For a playlist like manually. For a channel like
"https://www.youtube.com/playlist?list=PL4F80C7D2DC8D9B6C", the "https://www.youtube.com/channel/$foo", the
feed is "https://www.youtube.com/feeds/videos.xml?playlist_id=PL4F80C7D2DC8D9B6C" feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo"
## bittorrent ## bittorrent