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;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to