SVN: toys/rsget.pl/Get/RapidShare
sparky
sparky at pld-linux.org
Mon Oct 26 23:46:09 CET 2009
Author: sparky
Date: Mon Oct 26 23:46:08 2009
New Revision: 10866
Modified:
toys/rsget.pl/Get/RapidShare
Log:
- "There are no more download slots available for free users right now"
Modified: toys/rsget.pl/Get/RapidShare
==============================================================================
--- toys/rsget.pl/Get/RapidShare (original)
+++ toys/rsget.pl/Get/RapidShare Mon Oct 26 23:46:08 2009
@@ -1,7 +1,7 @@
# $Id$
# Get::RapidShare - File getter plugin for rsget.pl
#
-# (c) 2009 Przemysław Iskra <sparky at pld-linux.org>
+# 2009 (c) Przemysław Iskra <sparky at pld-linux.org>
# This program is free software,
# you may distribute it under GPL v2 or newer.
@@ -29,6 +29,11 @@
MULTI() if /Please wait until the download is completed/;
+ # TODO: this should decrease file priority to delay its download,
+ # postpone it, download after the next file.
+ return $self->problem( "No slots for free users" )
+ if /There are no more download slots available for free users right now/;
+
RESTART( $1 * 60 + 10, "free limit reached" )
if /Instant download access! Or try again in about (\d+) minutes\./;
More information about the pld-cvs-commit
mailing list