respond and close

This commit is contained in:
Joey Hess 2020-06-22 14:44:14 -04:00
parent e2f739b0c8
commit b97d8030f3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 22 additions and 0 deletions

View file

@ -1 +1,4 @@
Is there already a way to addurl video from a Twitter post. Question came up while proposing git annex as a tech for archival in https://github.com/2020PB/police-brutality/issues/315#issuecomment-640163911
> I don't think there's anything for git-annex to do here, so
> [[closing|done]] --[[Joey]]

View file

@ -0,0 +1,19 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2020-06-22T18:38:33Z"
content="""
If youtube-dl supports the web site, `git annex addurl` will automatically
use it to download the video.
Looks like youtube-dl does support twitter, so it should just work.
If it didn't though, I'd punt it over to youtube-dl.
(If you also wanted to archive the twitter
page itself, you could use `git annex addurl --raw` to archive the html.
Although there's a good chance the html alone is not enough, and so you
might want to use other tools to archive javascript and other assets;
this is beyond the scope of git-annex, although of course you can `git
annex add` whatever files you end up downloading.)
"""]]