SVN: toys/rsget.pl/Get/TurboBit

pawelz pawelz at pld-linux.org
Wed Jul 28 16:07:09 CEST 2010


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;


More information about the pld-cvs-commit mailing list