git-annex/doc/todo/addurl_should_fail_when_youtube-dl_disabled.mdwn
Joey Hess a63bbd868b
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.
2018-06-28 13:01:18 -04:00

7 lines
393 B
Markdown

When using addurl on an url that youtube-dl supports, if it's installed but
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]]