SVN: toys/rsget.pl/Get/RapidShare
sparky
sparky at pld-linux.org
Tue Oct 5 01:09:18 CEST 2010
Author: sparky
Date: Tue Oct 5 01:09:18 2010
New Revision: 11827
Modified:
toys/rsget.pl/Get/RapidShare
Log:
- some "file not found" handling
Modified: toys/rsget.pl/Get/RapidShare
==============================================================================
--- toys/rsget.pl/Get/RapidShare (original)
+++ toys/rsget.pl/Get/RapidShare Tue Oct 5 01:09:18 2010
@@ -21,6 +21,9 @@
start:
GET( $-{_uri} );
+ ERROR( "file not found: $1" )
+ if /^ERROR: (.*)/ and substr( $1, 0, 16 ) ne "You need to wait";
+
GOTO stage_uri_complete
unless m{<script type="text/javascript">location="(.*?)"};
$-{_referer} = undef;
More information about the pld-cvs-commit
mailing list