SVN: toys/rsget.pl/Get/TurboBit
sparky
sparky at pld-linux.org
Sat Jun 5 00:37:16 CEST 2010
Author: sparky
Date: Sat Jun 5 00:37:16 2010
New Revision: 11532
Modified:
toys/rsget.pl/Get/TurboBit
Log:
- RSGet::Form update fixed it, status changed to OK
- added TODO - there is a tiny glitch
Modified: toys/rsget.pl/Get/TurboBit
==============================================================================
--- toys/rsget.pl/Get/TurboBit (original)
+++ toys/rsget.pl/Get/TurboBit Sat Jun 5 00:37:16 2010
@@ -5,6 +5,9 @@
# This program is free software,
# you may distribute it under GPL v2 or newer.
+# TODO: there are two captcha methods: their own (kohana) and recaptcha
+# the latter is not supported, but it doesn't seem to be a big problem
+
name: TurboBit
short: TB
web: "http://turbobit.net/"
@@ -13,7 +16,7 @@
uri: qr{turbobit\.ru/[a-z0-9]+\.html}
cookie: tb
slots: max
-status: BROKEN 2010-06-04
+status: OK 2010-06-04
unify:
return "http://turbobit.net/$1"
@@ -41,6 +44,7 @@
! m#var Timeout = {\s*limit: (\d+),#s;
RESTART( $1, "free limit reached" );
}
+
! $-{form} = $self->form( match => { body => qr#<img alt="Captcha"# } );
stage_getimg:
More information about the pld-cvs-commit
mailing list