SVN: toys/rsget.pl/Get/FileSonic
sparky
sparky at pld-linux.org
Thu Mar 3 01:20:16 CET 2011
Author: sparky
Date: Thu Mar 3 01:20:16 2011
New Revision: 12179
Modified:
toys/rsget.pl/Get/FileSonic
Log:
- fixed multi-download detection
Modified: toys/rsget.pl/Get/FileSonic
==============================================================================
--- toys/rsget.pl/Get/FileSonic (original)
+++ toys/rsget.pl/Get/FileSonic Thu Mar 3 01:20:16 2011
@@ -34,7 +34,8 @@
$-{dl_start} = $1;
CLICK( $-{dl_start}, headers => [ "X-Requested-With: XMLHttpRequest" ], post => "", keep_referer => 1 );
- MULTI() if m#<span>Download session in progress</span>#;
+ MULTI() if m#<span>Download session in progress</span>#
+ or m#<p>Free users may only download 1 file at a time\.</p>#;
( $-{file_uri} ) = m{<p><a href="(.*?)"><span>Start download now!</span></a></p>};
GOTO stage_download if $-{file_uri};
More information about the pld-cvs-commit
mailing list