Author: sparky
Date: Fri Oct 15 23:59:18 2010
New Revision: 11847

Modified:
   toys/rsget.pl/Get/FileSonic
Log:
- updated "file not found" detection


Modified: toys/rsget.pl/Get/FileSonic
==============================================================================
--- toys/rsget.pl/Get/FileSonic (original)
+++ toys/rsget.pl/Get/FileSonic Fri Oct 15 23:59:18 2010
@@ -21,7 +21,8 @@
        GET( $-{_uri} );
 
        ERROR( "file not found: $1" )
-               if m#<div class="section CL1">.*?<p>\s*(.*?)\s*</p>#s;
+               if m#<div class="section CL1">.*?<p>\s*(.*?)\s*</p>#s
+               or m#<div id="downloadFileInfo" class="section 
CL.">.*?<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