J'ai fait un petit script en perl :
#!/usr/bin/perl
$dailymotionurl = $ARGV[0];
$file_download = $ARGV[1];
if ($dailymotionurl =~ /http:\/\/www\.(dailymotion.*)/ ){
@wget_file=`wget -qO- iphone.$1`;
@foo = map(/(http:\/\/iphone.dailymotion.com\/.*\.mp4.*)\" src/,@wget_file);
system "wget @foo -O $file_download.mp4";
}
perl ./download-daily.pl http://www.dailymotion.com/video/xku2lq_ubutu-party-11-04-nouveautes-ubuntu-et-unity-par-didier-roche_tech didrock-thelegend