X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite-dl.pl;h=1225b925904f5a7e4bbdec7e91726427f3e199bb;hb=513fff57bcf5c5724ea25fc69831b97f8f0bc0cc;hp=3a711f1d1de6032001fd80b74dc557b37db4dd42;hpb=28e365c0f06c832e5c1e3f3a852a18ab03045c5f;p=videosite.git diff --git a/videosite-dl.pl b/videosite-dl.pl index 3a711f1..1225b92 100755 --- a/videosite-dl.pl +++ b/videosite-dl.pl @@ -23,10 +23,10 @@ sub link_callback { foreach (keys(%{$m})) { printf("%s: %s\n", $_, defined($m->{$_})?$m->{$_}:'(undef)'); } - return 0; + return 1; } else { print("Downloading $m->{'TITLE'}\n"); - return 1; + return 0; } } @@ -58,5 +58,6 @@ foreach (@ARGV) { libvideosite::check_for_link({ message => $_, ewpf => sub { print @_, "\n" }, + window => "", }); }