SVN: toys/rsget.pl/Get/TurboBit

pawelz pawelz at pld-linux.org
Mon Jul 26 14:33:40 CEST 2010


Author: pawelz
Date: Mon Jul 26 14:33:40 2010
New Revision: 11713

Modified:
   toys/rsget.pl/Get/TurboBit
Log:
- We don't support recaptcha in this plugin. RESTART on recaptcha.
- fixes RSGETPL-24


Modified: toys/rsget.pl/Get/TurboBit
==============================================================================
--- toys/rsget.pl/Get/TurboBit	(original)
+++ toys/rsget.pl/Get/TurboBit	Mon Jul 26 14:33:40 2010
@@ -39,6 +39,7 @@
 	CLICK( $1 );
 
 stage_captcha:
+	RESTART ( 10, "recaptcha is not supported, restarting" ) if m#src="http://api\.recaptcha\.net/challenge.*"#;
 	if ( m#<img alt="Captcha" src="(.*?)"# ) {
 		$-{capimg} = $1;
 	} else {


More information about the pld-cvs-commit mailing list