git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libvideosite: move definition of remote_api and add default reset function
[videosite.git]
/
videosite-dl.pl
diff --git
a/videosite-dl.pl
b/videosite-dl.pl
index
3a711f1
..
769ab43
100755
(executable)
--- 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)');
}
foreach (keys(%{$m})) {
printf("%s: %s\n", $_, defined($m->{$_})?$m->{$_}:'(undef)');
}
- return
0
;
+ return
1
;
} else {
print("Downloading $m->{'TITLE'}\n");
} else {
print("Downloading $m->{'TITLE'}\n");
- return
1
;
+ return
0
;
}
}
}
}