youtube: Upload video to YouTube via YouTube API
Upload a video to YouTube via YouTube API. The aim of this program is to simplify uploads of related videos.
First you must have the
curl executable installed.
In order to use the
you need a YouTube account and an additional developer account.
From the developer account you get a keyfile.
If you want to upload videos you first have to login to YouTube.
As a result of this you get an authentication token.
Write this authentication token into the
YOUTUBEAUTH environment variable.
It is queried by
For every upload you have to pass the developer keyfile,
an XML file containing meta data for the video and the video file.
The XML file must be encoded with UTF-8.
I found it very useful to generate the XML files
from an XML template file and a CSV table
cvsreplace command from the
|Versions||0.1, 0.2, 0.2.0.1, 0.2.1, 0.2.1.1|
|Dependencies||base (>=4.2 && <5), bytestring (>=0.9 && <0.11), process (>=1.0 && <1.2) [details]|
|Uploaded||by HenningThielemann at Fri Dec 14 20:42:20 UTC 2012|
|Distributions||LTSHaskell:0.2.1.1, NixOS:0.2.1.1, Stackage:0.2.1.1, openSUSE:0.2.1.1|
|Downloads||1590 total (24 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs not available [build log]
Successful builds reported [all 8 reports]
Hackage Matrix CI
For package maintainers and hackage trustees