SVN: toys/rsget.pl/Get/SharePlace

sparky sparky at pld-linux.org
Fri Mar 12 03:55:15 CET 2010


Author: sparky
Date: Fri Mar 12 03:55:15 2010
New Revision: 11255

Modified:
   toys/rsget.pl/Get/SharePlace
Log:
- oops, web and tos were wrong - fixed
- there were some changes, shareplace.org is the working domain now;
  getter partially updated but still BROKEN


Modified: toys/rsget.pl/Get/SharePlace
==============================================================================
--- toys/rsget.pl/Get/SharePlace	(original)
+++ toys/rsget.pl/Get/SharePlace	Fri Mar 12 03:55:15 2010
@@ -7,14 +7,15 @@
 
 name: SharePlace
 short: SP
-web: "http://www.sharespace.com/"
-tos: "http://www.sharespace.com/legal.php"
+web: "http://shareplace.com/"
+tos: "http://shareplace.com/rules.php"
 uri: qr{shareplace\.com/\?[0-9A-F]+(/.*)?}
+uri: qr{shareplace\.org/\?[0-9A-F]+(/.*)?}
 slots: max
-status: OK 2009-10-23
+status: BROKEN 2010-03-12
 
 unify:
-	return "http://shareplace.com/?$1"
+	return "http://shareplace.org/?$1"
 		if m{shareplace\.com/\?([0-9A-F]+)(/.*)?};
 
 start:
@@ -23,7 +24,7 @@
 	ERROR( "file not found" )
 		if /Your requested file is not found/;
 
-	! m#<b>Filename: </b>(.*)<b><br>\s*File size: </b>($STDSIZE)<b><br>#s;
+	! m#Filename:</font></b>\s*(.*?)<b><br>\s*Filesize:</font></b>\s*($STDSIZE)<b>#s;
 	INFO( name => $1, asize => $2 );
 
 	RESTART( - irand( 60, 300 ), "limit reached" )


More information about the pld-cvs-commit mailing list