SVN: toys/rsget.pl/Get/FreakShare
sparky
sparky at pld-linux.org
Wed Jul 7 22:13:01 CEST 2010
Author: sparky
Date: Wed Jul 7 22:13:00 2010
New Revision: 11635
Modified:
toys/rsget.pl/Get/FreakShare
Log:
- fixed/updated "file not found" detection, fixes RSGETPL-11
Modified: toys/rsget.pl/Get/FreakShare
==============================================================================
--- toys/rsget.pl/Get/FreakShare (original)
+++ toys/rsget.pl/Get/FreakShare Wed Jul 7 22:13:00 2010
@@ -16,7 +16,8 @@
start:
GET( $-{_uri} );
- ERROR( "file not found" ) if /Sorry, this Download doesnt exist anymore/;
+ ERROR( "file not found: $1" )
+ if m#<h1 .*?>Error</h1>\s+<div.*?>\s*(.*?)\s+<#s;
RESTART( - irand( 60, 300 ), "free limit reached" )
if /Sorry, your Traffic is used up for today/;
More information about the pld-cvs-commit
mailing list