SVN: toys/rsget.pl/Get/UploadingCom

sparky sparky at pld-linux.org
Sat Jun 5 02:39:42 CEST 2010


Author: sparky
Date: Sat Jun  5 02:39:42 2010
New Revision: 11537

Modified:
   toys/rsget.pl/Get/UploadingCom
Log:
- detect multi-download (very awkward, because of this restriction cannot
  check links when downloading something)


Modified: toys/rsget.pl/Get/UploadingCom
==============================================================================
--- toys/rsget.pl/Get/UploadingCom	(original)
+++ toys/rsget.pl/Get/UploadingCom	Sat Jun  5 02:39:42 2010
@@ -28,6 +28,7 @@
 	RESTART( -irand( 30, 120 ), "temporarily unavailable" )
 		if m{<h1>Service Not Available</h1>};
 	ERROR( "file not found" ) if />The requested file is not found</;
+	MULTI() if />Parallel Download</;
 
 	! m{.*<h2>(.+?)</h2><br/>\s*File size: <b>($STDSIZE)</b>}so;
 	my $name = $1; my $size = $2;


More information about the pld-cvs-commit mailing list