TV::Mediathek - Access to Mediathek
Version 0.03
List and download TV programs from German and French public TV Mediathek repositories.
Based on (and using some resources from) the original Java MediathekView script: http://zdfmediathk.sourceforge.net/index.html
Create new instance of TV::Mediathek
Address of proxy server to use. e.g. http://proxy.example.com:8001/
Default: undef
Address of socks server to use for download.
Timeout in seconds while downloading video
Default: 10
User agent string to use.
Default: LWP::UserAgent default
File to use as a cookie jar
If you already have a WWW::Mechanize object, you can pass it here, otherwise one will be created for you
Path to flvstreamer binary
Default: 'flvstreamer'
Time in seconds to read from cached sources before refreshing.
Default: 3600
Set memory in bytes which SQLite can use for caching.
Default: 80000
Directory to cache files in
Required. No Default.
Directory to which video files should be saved
Should the date of the programme be included in the filename.
With: 2011-10-22_Mit_offenen_Karten.avi
Without: Mit_offenen_Karten.avi
Default: 1
Download the sources into the sources table in the databse. All current entries are deleted from the table, and the news entries are added
Refresh the media listing. This will try each of the sources from the sources table in the database, ordered by time (youngest first) and if possible download and import the resulting XML into the database. Prior to import into the database, all existing data from the channels, themes, media and map_media tables will be deleted.
Count the number of videos matching your search criteria.
TODO: RCL 2011-10-28 Documentation
List the videos matching your search criteria.
TODO: RCL 2011-10-28 Document search options
Download (to the target_dir) the videos matching your search criteria.
TODO: RCL 2012-01-26 Document
TODO: RCL 2012-01-26 Documentation
Robin Clarke, <perl at robinclarke.net>
<perl at robinclarke.net>
Please report any bugs or feature requests to https://github.com/robin13/mediathekp
You can find documentation for this module with the perldoc command.
perldoc TV::Mediathek
You can also look for information at:
Github
https://github.com/robin13/mediathekp
Search CPAN
http://search.cpan.org/dist/TV/Mediathek/
Thanks to Michael Unterkalmsteiner for added functionality!
Copyright 2011 Robin Clarke.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install TV::Mediathek, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TV::Mediathek
CPAN shell
perl -MCPAN -e shell install TV::Mediathek
For more information on module installation, please visit the detailed CPAN module installation guide.