SVN: toys/rsget.pl/Get/RapidShare

sparky sparky at pld-linux.org
Thu Mar 25 23:40:31 CET 2010


Author: sparky
Date: Thu Mar 25 23:40:31 2010
New Revision: 11288

Modified:
   toys/rsget.pl/Get/RapidShare
Log:
- return error on 200MB+ files


Modified: toys/rsget.pl/Get/RapidShare
==============================================================================
--- toys/rsget.pl/Get/RapidShare	(original)
+++ toys/rsget.pl/Get/RapidShare	Thu Mar 25 23:40:31 2010
@@ -53,6 +53,8 @@
 		if match "download of this file is currently not possible";
 	ERROR( "file removed: $_" )
 		if match "This limit is reached";
+	ERROR( "not allowed: $_" )
+		if m#<h1>Error</h1># and match qr/This file is larger than /;
 
 	! m#<p class="downloadlink">.*/(.+?) <font style=".*?">\| (\d+ KB)</font></p>#;
 	INFO( name => $1, asize => $2, kilo => 1000 );


More information about the pld-cvs-commit mailing list