SVN: toys/rsget.pl/Get/FileSonic

sparky sparky at pld-linux.org
Sat Oct 16 00:13:46 CEST 2010


Author: sparky
Date: Sat Oct 16 00:13:46 2010
New Revision: 11849

Modified:
   toys/rsget.pl/Get/FileSonic
Log:
- fixed last commit


Modified: toys/rsget.pl/Get/FileSonic
==============================================================================
--- toys/rsget.pl/Get/FileSonic	(original)
+++ toys/rsget.pl/Get/FileSonic	Sat Oct 16 00:13:46 2010
@@ -22,7 +22,7 @@
 
 	ERROR( "file not found: $1" )
 		if m#<div class="section CL1">.*?<p>\s*(.*?)\s*</p>#s
-		or m#<div id="downloadFileInfo" class="section CL.">.*?<p>\s*(.*?)\s*</p>#s;
+		or m#<div id="downloadFileInfo" class="section CL2">\s*<h2><span>[^<]*?</span></h2>\s*<p>\s*(.*?)\s*</p>#s;
 
 	! m#<p class="fileInfo filename">.*?<strong>(.*?)</strong>#;
 	( my $fn = $1 ) =~ s/\.\.\./\0/;


More information about the pld-cvs-commit mailing list