SVN: toys/rsget.pl/Get/X7

sparky sparky at pld-linux.org
Mon Feb 22 23:37:37 CET 2010


Author: sparky
Date: Mon Feb 22 23:37:37 2010
New Revision: 11158

Modified:
   toys/rsget.pl/Get/X7
Log:
- wait some additional time before starting download


Modified: toys/rsget.pl/Get/X7
==============================================================================
--- toys/rsget.pl/Get/X7	(original)
+++ toys/rsget.pl/Get/X7	Mon Feb 22 23:37:37 2010
@@ -8,6 +8,7 @@
 name: X7
 short: X7
 web: "http://x7.to/"
+tos: "http://x7.to/legal"
 uri: qr{x7\.to/[a-z0-9]{6}}
 status: OK 2010-02-22		
 
@@ -39,7 +40,8 @@
 	! m#{type:'download',wait:(\d+),url:'(.+?)'}#;
 	$-{file_uri} = $2;
 
-	WAIT( $1, "starting download" );
+	# wait a bit longer because server needs some time to prepare the file
+	WAIT( 20 + $1, "starting download" );
 
 	CLICK_DOWNLOAD( $-{file_uri} );
 


More information about the pld-cvs-commit mailing list