Author: pawelz
Date: Wed Jul 28 16:07:08 2010
New Revision: 11721

Modified:
   toys/rsget.pl/Get/TurboBit
Log:
- restart if page is empty


Modified: toys/rsget.pl/Get/TurboBit
==============================================================================
--- toys/rsget.pl/Get/TurboBit  (original)
+++ toys/rsget.pl/Get/TurboBit  Wed Jul 28 16:07:08 2010
@@ -39,6 +39,7 @@
        CLICK( $1 );
 
 stage_captcha:
+       MULTI ( "received empty page, restarting" ) unless length $_;
        RESTART ( 10, "recaptcha is not supported, restarting" ) if 
m#src="http://api\.recaptcha\.net/challenge.*"#;
        if ( m#<img alt="Captcha" src="(.*?)"# ) {
                $-{capimg} = $1;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to