From: Joey Hess Date: Tue, 30 Jan 2024 20:12:33 +0000 (-0400) Subject: update docs for --scrape X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~25^2~219 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e0266a8d80da803a1fa1f1b2d99d8fd1a2d4e449;p=git-annex.git update docs for --scrape --- diff --git a/doc/tips/downloading_podcasts.mdwn b/doc/tips/downloading_podcasts.mdwn index 6dbc5c0a02..1b82211aeb 100644 --- a/doc/tips/downloading_podcasts.mdwn +++ b/doc/tips/downloading_podcasts.mdwn @@ -74,15 +74,11 @@ and transferring to your laptop on demand. ## youtube channels You can also use `git annex importfeed` on youtube channels. -It will use yt-dlp to automatically -download the videos. - -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 channel url like -"https://www.youtube.com/channel/$foo", the -feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo" +It will use yt-dlp to automatically download the videos. + +You can either use `git-annex importfeed --scrape` with the url to the +channel, or you can find the RSS feed for the channel, and +`git-annex importfeed` that url (without `--scrape`). Use of yt-dlp is disabled by default as it can be a security risk. See the documentation of annex.security.allowed-ip-addresses 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 faa453c4b8..b326983393 100644 --- a/doc/tips/using_the_web_as_a_special_remote.mdwn +++ b/doc/tips/using_the_web_as_a_special_remote.mdwn @@ -95,12 +95,10 @@ to pass parameters to yt-dlp. For example, you could set `git config annex.youtube-dl-options "--format worst"` to configure it to download low quality videos from YouTube. -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 channel like -"https://www.youtube.com/channel/$foo", the -feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo" +To download all the videos in a youtube channel, you can use +`git-annex importfeed --scrape` with the url to the +channel, or you can find the RSS feed for the channel, and +`git-annex importfeed` that url (without `--scrape`). ## bittorrent