update docs for --scrape
authorJoey Hess <joeyh@joeyh.name>
Tue, 30 Jan 2024 20:12:33 +0000 (16:12 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 30 Jan 2024 20:12:33 +0000 (16:12 -0400)
doc/tips/downloading_podcasts.mdwn
doc/tips/using_the_web_as_a_special_remote.mdwn

index 6dbc5c0a021c3172aebe5f25427453dcaefc8318..1b82211aeb2edb6c26f198a33f1beda37a7a547a 100644 (file)
@@ -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
index faa453c4b8c62e2a74233547b6de867d40949916..b326983393131252559ac4a1ac1fc6a3920ee420 100644 (file)
@@ -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