youtube: Upload video to YouTube via YouTube API

[ bsd3, deprecated, program, web ] [ Propose Tags ]
Deprecated

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 youtube-upload command 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. You can do this with

youtube-auth your_youtube_login

or

export YOUTUBEUSER=your_youtube_login
youtube-auth

As a result of this call you get an authentication token. Write this authentication token into the YOUTUBEAUTH environment variable. It is queried by youtube-upload. 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 using the cvsreplace command from the spreadsheet package. I have included the example file upload-template.xml that you can use with a CSV file with the columns TITLE, DESCRIPTION, CATEGORY, TAGS.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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.5), utility-ht (>=0.0.8 && <0.1) [details]
License BSD-3-Clause
Author Henning Thielemann
Maintainer haskell@henning-thielemann.de
Category Web
Source repo this: darcs get http://hub.darcs.net/thielema/youtube/ --tag 0.2.1
head: darcs get http://hub.darcs.net/thielema/youtube/
Uploaded by HenningThielemann at 2016-07-29T20:34:12Z
Distributions LTSHaskell:0.2.1.1, NixOS:0.2.1.1, Stackage:0.2.1.1
Reverse Dependencies 1 direct, 0 indirect [details]
Executables youtube-upload, youtube-auth
Downloads 4255 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-11-22 [all 8 reports]