SVN: toys/rsget.pl/Get/UploadingCom

sparky sparky at pld-linux.org
Sun Dec 13 15:00:01 CET 2009


Author: sparky
Date: Sun Dec 13 15:00:00 2009
New Revision: 11037

Modified:
   toys/rsget.pl/Get/UploadingCom
Log:
- hard limit slots to 1: cannot check multiple files at once


Modified: toys/rsget.pl/Get/UploadingCom
==============================================================================
--- toys/rsget.pl/Get/UploadingCom	(original)
+++ toys/rsget.pl/Get/UploadingCom	Sun Dec 13 15:00:00 2009
@@ -11,6 +11,7 @@
 tos: "http://uploading.com/terms/"
 uri: qr{uploading\.com/(../)?files/(get/)?[A-Za-z0-9]{8}}
 cookie: !uc
+slots: !1
 status: OK 2009-12-11
 
 unify:
@@ -22,7 +23,7 @@
 
 	GET( $-{_uri} );
 
-	RESTART( irand( 60, 300 ), "temporarily unavailable" )
+	RESTART( -irand( 60, 300 ), "temporarily unavailable" )
 		if m{<h1>Service Not Available</h1>};
 	ERROR( "file not found" ) if /Requested file not found/;
 


More information about the pld-cvs-commit mailing list