SVN: toys/rsget.pl/Get: FileServe FileSonic
sparky
sparky at pld-linux.org
Thu Oct 14 23:43:54 CEST 2010
Author: sparky
Date: Thu Oct 14 23:43:54 2010
New Revision: 11846
Modified:
toys/rsget.pl/Get/FileServe
toys/rsget.pl/Get/FileSonic
Log:
- restart if captcha wasn't solved
Modified: toys/rsget.pl/Get/FileServe
==============================================================================
--- toys/rsget.pl/Get/FileServe (original)
+++ toys/rsget.pl/Get/FileServe Thu Oct 14 23:43:54 2010
@@ -49,6 +49,8 @@
qr/\S+ \S+/
);
+ RESTART( 1, "Captcha not solved" ) unless $_;
+
CLICK( "/checkReCaptcha.php", post => {
recaptcha_shortencode_field => $-{captcha_encode},
recaptcha_response_field => $_,
Modified: toys/rsget.pl/Get/FileSonic
==============================================================================
--- toys/rsget.pl/Get/FileSonic (original)
+++ toys/rsget.pl/Get/FileSonic Thu Oct 14 23:43:54 2010
@@ -59,6 +59,8 @@
qr/\S+ \S+/
);
+ RESTART( 1, "Captcha not solved" ) unless $_;
+
GET( $-{dl_start}, post => {
recaptcha_challenge_field => $-{captcha_challenge},
recaptcha_response_field => $_
More information about the pld-cvs-commit
mailing list