make addurl of media url fail when youtube-dl is disabled
addurl: When security configuration prevents downloads with youtube-dl, still check if the url is one that it supports, and fail downloading it, instead of downloading the raw web page.
This commit is contained in:
parent
2c62f8e63d
commit
a63bbd868b
3 changed files with 27 additions and 21 deletions
|
@ -3,3 +3,5 @@ not enabled to be used due to the recent security fix, git-annex will
|
|||
download the web page and add it, which is unlikely to be desired behavior.
|
||||
Instead, it should check if youtube-dl supports the page, and then error
|
||||
out at the download stage, with a message that points at how to enable it.
|
||||
|
||||
> [[done]] --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue