RTMPDump-YLE
(C) 2009 Antti Ajanki <antti.ajanki@iki.fi>
(C) 2009 Andrej Stepanchuk
License: GPLv2

RTMPDump-YLE is a command-line program for downloading media files
from YLE Areena, http://areena.yle.fi/, the video streaming service of
the Finnish national broadcasting company.

RTMPDump-YLE is based heavily on RTMPDump by Andrej Stepanchuk, which
is based on XBMC RTMP code used in RTMPDumper by team boxee. json-c
library is used for JSON parsing.

Installation
------------

Prerequisites: libssl, libcrypto, libxml 

On Debian/Ubuntu installing packages libssl-dev and libxml2-dev
satisfies the dependencies.

./configure
make
make install

Usage
-----

yle-dl yle_video_page_url [--auth YLEPassi-cookie] [rtmpdump-options]

yle_video_page_url is the address of the web page where you would
normally watch the video in a browser.

To download programs that are available only to those who have paid
the TV fee, use your browser to login at
https://login.yle.fi/login/index.php?language=1&url=areena.yle.fi.
Find the contents of ChatYleFi cookie from the browser (Firefox:
Edit->Preferences->Privacy->Show cookies), and give it as --auth
parameter.

For example:

yle-dl http://areena.yle.fi/video/261405

yle-dl http://areena.yle.fi/video/261405 -o /my/video/dir/video.flv

Run

yle-dl --help

to see all options.
