update docs for --scrape
This commit is contained in:
parent
3b22e61007
commit
e0266a8d80
2 changed files with 8 additions and 14 deletions
|
@ -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.
|
||||
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"
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue