ARD (Video)-Podcast Downloader
Posted on Wed 24 November 2010 in Linux • Tagged with Linux, Perl, Code • 1 min read
#!/usr/bin/perl -w
#
# ARD tagesschau podcast url
$url = "http://www.tagesschau.de/export/video-podcast/webl/tagesschau/";
#
# wget parameter
$wgetopts = "--quiet";
$targetpath = "/tmp";
#
# Enable verbose output
$verbose = 0;
#
#############################
use XML::Simple;
use LWP::Simple;
sub output{
my $msg = shift;
if ($verbose) { printf STDERR "$msg\n"; }
}
$xmlcontent = get($url);
my $xml …
Continue reading