diff --git a/dc-download-videos.plx b/dc-download-videos.plx index c61f051..46a56e0 100755 --- a/dc-download-videos.plx +++ b/dc-download-videos.plx @@ -131,7 +131,7 @@ foreach my $videoURL (@allVideoLinks) { print STDERR ".... already have.\n"; next; } - if ( ($startCount % 10) == 0) { + if ( ($count % 10) == 0) { print STDERR " ... redoing login ..."; &redo_login; }