summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-09 17:07:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-09 17:07:40 -0400
commitaffd52be0e3e2dae1ffa633551cff919a44c624a (patch)
treef76fe7bcd46fb3849cd9b2f7485a47b02dba656e
parent6c8f76ca28859b1e025189e4f669508e2c516a9b (diff)
response
-rw-r--r--doc/todo/wishlist:_special-case_handling_of_Youtube_URLs_in_Web_special_remote.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/todo/wishlist:_special-case_handling_of_Youtube_URLs_in_Web_special_remote.mdwn b/doc/todo/wishlist:_special-case_handling_of_Youtube_URLs_in_Web_special_remote.mdwn
index a368c98a0..e11989e52 100644
--- a/doc/todo/wishlist:_special-case_handling_of_Youtube_URLs_in_Web_special_remote.mdwn
+++ b/doc/todo/wishlist:_special-case_handling_of_Youtube_URLs_in_Web_special_remote.mdwn
@@ -1 +1,12 @@
The [Web special remote](http://git-annex.branchable.com/special_remotes/web/) could possibly be improved by detecting when URLs reference a Youtube video page and using [youtube-dl](http://rg3.github.com/youtube-dl/) instead of wget to download the page. Youtube-dl can also handle several other video sites such as vimeo.com and blip.tv, so if this idea were to be implemented, it might make sense to borrow the regular expressions that youtube-dl uses to identify video URLs. A quick grep through the youtube-dl source for the identifier _VALID_URL should find those regexes (in Python's regex format).
+
+> This is something I've thought about doing for a while..
+> Two things I have not figured out:
+>
+> * Seems that this should really be user-configurable or a plugin system,
+> to handle more than just this one case.
+> * Youtube-dl breaks from time to time, I really trust these urls a lot
+> less than regular urls. Perhaps per-url trust levels are called for by
+> this.
+>
+> --[[Joey]]