Author: sparky
Date: Sat Jun  5 13:47:20 2010
New Revision: 11546

Modified:
   toys/rsget.pl/Get/RapidShark
Log:
- added "free limit reached" detection


Modified: toys/rsget.pl/Get/RapidShark
==============================================================================
--- toys/rsget.pl/Get/RapidShark        (original)
+++ toys/rsget.pl/Get/RapidShark        Sat Jun  5 13:47:20 2010
@@ -35,6 +35,8 @@
 
        CLICK( $form->post() );
 
+       RESTART( -irand( 60, 600 ), "free limit reached" )
+               if /<p class="err">Wykorzystałeś dzienny limit pobierania/;
        if ( /Muszisz poczekać (.*) aby pobrać następny plik/ ) {
                $_ = $1;
                my $wait = 0;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to