SVN: toys/rsget.pl/Get/ZippyShare
sparky
sparky at pld-linux.org
Fri Mar 12 20:24:21 CET 2010
Author: sparky
Date: Fri Mar 12 20:24:20 2010
New Revision: 11260
Modified:
toys/rsget.pl/Get/ZippyShare
Log:
- detect "file not found" from page title
Modified: toys/rsget.pl/Get/ZippyShare
==============================================================================
--- toys/rsget.pl/Get/ZippyShare (original)
+++ toys/rsget.pl/Get/ZippyShare Fri Mar 12 20:24:20 2010
@@ -20,7 +20,7 @@
start:
GET( $-{_uri} );
- ERROR( "file not found" ) if /File does not exist on this server/;
+ ERROR( "file not found" ) if m{<title>.*?- File does not exist</title>};
! m#<strong>Name: </strong>(.+?)<#;
my $name = $1;
More information about the pld-cvs-commit
mailing list