Author: pawelz
Date: Sun Aug 29 21:22:27 2010
New Revision: 11790

Modified:
   toys/rsget.pl/Get/FileSonic
Log:
- fixes catching "File not found" error


Modified: toys/rsget.pl/Get/FileSonic
==============================================================================
--- toys/rsget.pl/Get/FileSonic (original)
+++ toys/rsget.pl/Get/FileSonic Sun Aug 29 21:22:27 2010
@@ -21,7 +21,7 @@
        GET( $-{_uri} );
 
        ERROR( "file not found: $1" )
-               if m#<div class="section CL1 errorMessage">.*?<p>(.*?)</p>#s;
+               if m#<div class="section CL1">.*?<p>\s*(.*?)\s*</p>#s;
 
        ! m#<p class="fileInfo filename">.*?<strong>(.*?)</strong>#;
        ( my $fn = $1 ) =~ s/\.\.\./\0/;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to