SVN: toys/rsget.pl/Get/FreakShare
sparky
sparky at pld-linux.org
Fri Dec 11 10:25:03 CET 2009
Author: sparky
Date: Fri Dec 11 10:25:03 2009
New Revision: 11028
Modified:
toys/rsget.pl/Get/FreakShare
Log:
- detect traffic limit
Modified: toys/rsget.pl/Get/FreakShare
==============================================================================
--- toys/rsget.pl/Get/FreakShare (original)
+++ toys/rsget.pl/Get/FreakShare Fri Dec 11 10:25:03 2009
@@ -17,6 +17,8 @@
GET( $-{_uri} );
ERROR( "file not found" ) if /Sorry, this Download doesnt exist anymore/;
+ RESTART( - irand( 60, 300 ), "free limit reached" )
+ if /Sorry, your Traffic is used up for today/;
! m#<h1 class="box_heading" style="text-align:center;">(.*)</h1>#;
INFO( name => $1, size => -1 );
More information about the pld-cvs-commit
mailing list