default to not using youtube-dl, for security
Pity, but same reasoning as curl applies to it. This commit was sponsored by Peter on Patreon.
This commit is contained in:
parent
563f2f5a81
commit
e62c4543c3
9 changed files with 66 additions and 21 deletions
|
@ -84,6 +84,10 @@ 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 youtube-dl is disabled by default as it can be a security risk.
|
||||
See the documentation of annex.security.allowed-http-addresses
|
||||
in [[git-annex]] for details.)
|
||||
|
||||
## metadata
|
||||
|
||||
As well as storing the urls for items imported from a feed, git-annex can
|
||||
|
|
|
@ -78,6 +78,10 @@ When you have youtube-dl installed, you can just
|
|||
`git annex addurl http://youtube.com/foo` and it will detect that
|
||||
it is a video and download the video content for offline viewing.
|
||||
|
||||
(However, this is disabled by default as it can be a security risk.
|
||||
See the documentation of annex.security.allowed-http-addresses
|
||||
in [[git-annex]] for details.)
|
||||
|
||||
Later, in another clone of the repository, you can run `git annex get` on
|
||||
the file and it will also be downloaded with youtube-dl. This works
|
||||
even if the video host has transcoded or otherwise changed the video
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue