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 );
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to