X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite.pl;h=4eada1399130e734a5bcb873be33f09d7c5237df;hb=35306939804820c033c8e25ab5aa5134f5dc5735;hp=0d4b3e32aa3b15b894b0d47cb8ca72a311a80686;hpb=d738e03f4f2d70a41eba8b77177826d1ff62f42b;p=videosite.git diff --git a/videosite.pl b/videosite.pl index 0d4b3e3..4eada13 100644 --- a/videosite.pl +++ b/videosite.pl @@ -3,11 +3,9 @@ # (c) 2007 by Ralf Ertzinger # licensed under GNU GPL v2 # -# based on trigger.pl by Wouter Coekaerts -# download strategy revised using -# http://www.kde-apps.org/content/show.php?content=41456 -# # Based on youtube.pl by Christian Garbs +# which in turn is +# based on trigger.pl by Wouter Coekaerts use strict; use Irssi 20020324 qw (command_bind command_runsub signal_add_first signal_add_last); @@ -83,7 +81,7 @@ sub check_for_link { # Offer the message to all Grabbers in turn foreach $g (@grabbers) { if (defined($m = $g->get($message))) { - write_irssi($witem, '%%R>>> %%NSaving %%Y%s%%N %%G%s', $m->{'TYPE'}, $m->{'TITLE'}); + write_irssi($witem, '%%R>>> %%NSaving %%Y%s%%N %%G%s', $m->{'SOURCE'}, $m->{'TITLE'}); unless($getter->get($m)) { write_irssi($witem, '%%R>>> FAILED'); }