SVN: toys/rsget.pl/Get/SharingMatrix

sparky sparky at pld-linux.org
Sat Jul 10 00:51:00 CEST 2010


Author: sparky
Date: Sat Jul 10 00:51:00 2010
New Revision: 11643

Modified:
   toys/rsget.pl/Get/SharingMatrix
Log:
- return problem if page says "You can not download now"


Modified: toys/rsget.pl/Get/SharingMatrix
==============================================================================
--- toys/rsget.pl/Get/SharingMatrix	(original)
+++ toys/rsget.pl/Get/SharingMatrix	Sat Jul 10 00:51:00 2010
@@ -97,8 +97,7 @@
 	GET( "/ajax_scripts/_get.php?link_id=$-{link_id}&link_name=$-{link_name}&dl_id=$-{dl_id}&password=",
 		keep_referer => 1 );
 
-	DELAY( 600, "free limit reached" )
-		if /"You can not download now/;
+	! !/"You can not download now/;
 
 	s/^{//; s/}$//;
 	my %js = map { /^(.*?)\s*:\s*"(.*?)"/ } split /\s*,\s*/, $_;


More information about the pld-cvs-commit mailing list