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
|
## youtube channels
|
||||||
|
|
||||||
You can also use `git annex importfeed` on youtube channels.
|
You can also use `git annex importfeed` on youtube channels.
|
||||||
It will use yt-dlp to automatically
|
It will use yt-dlp to automatically download the videos.
|
||||||
download the videos.
|
|
||||||
|
|
||||||
To download a youtube channel, you need to find the feed associated with that
|
You can either use `git-annex importfeed --scrape` with the url to the
|
||||||
channel, and pass it to `git annex importfeed`. There does not seem to be
|
channel, or you can find the RSS feed for the channel, and
|
||||||
an easy link anywhere to get the feed, but you can construct its url
|
`git-annex importfeed` that url (without `--scrape`).
|
||||||
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"
|
|
||||||
|
|
||||||
Use of yt-dlp is disabled by default as it can be a security risk.
|
Use of yt-dlp is disabled by default as it can be a security risk.
|
||||||
See the documentation of annex.security.allowed-ip-addresses
|
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
|
annex.youtube-dl-options "--format worst"` to configure it to download low
|
||||||
quality videos from YouTube.
|
quality videos from YouTube.
|
||||||
|
|
||||||
To download a youtube channel, you need to find the RSS feed associated with
|
To download all the videos in a youtube channel, you can use
|
||||||
that channel, and pass it to `git annex importfeed`. There does not seem to
|
`git-annex importfeed --scrape` with the url to the
|
||||||
be an easy link anywhere to get the RSS feed, but you can construct its url
|
channel, or you can find the RSS feed for the channel, and
|
||||||
manually. For a channel like
|
`git-annex importfeed` that url (without `--scrape`).
|
||||||
"https://www.youtube.com/channel/$foo", the
|
|
||||||
feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo"
|
|
||||||
|
|
||||||
## bittorrent
|
## bittorrent
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue