SVN: toys/rsget.pl/Get/FileSonic

sparky sparky at pld-linux.org
Sat Dec 18 21:27:38 CET 2010


Author: sparky
Date: Sat Dec 18 21:27:38 2010
New Revision: 11991

Modified:
   toys/rsget.pl/Get/FileSonic
Log:
- fixed, at least partially


Modified: toys/rsget.pl/Get/FileSonic
==============================================================================
--- toys/rsget.pl/Get/FileSonic	(original)
+++ toys/rsget.pl/Get/FileSonic	Sat Dec 18 21:27:38 2010
@@ -11,7 +11,8 @@
 tos: "http://www.filesonic.com/terms-and-conditions"
 uri: qr{filesonic\.com/file/\d+}
 uri: qr{(?:www\d+\.)?sharingmatrix\.com/file/\d+}
-status: BROKEN 2010-11-10
+cookie: fsc
+status: OK 2010-12-18
 
 unify:
 	return "http://www.filesonic.com/file/$1"
@@ -31,7 +32,7 @@
 
 	! m#href="(.*?)" id="free_download"#;
 	$-{dl_start} = $1;
-	CLICK( $-{dl_start}, post => "", keep_referer => 1 );
+	CLICK( $-{dl_start}, headers => [ "X-Requested-With: XMLHttpRequest" ], post => "", keep_referer => 1 );
 
 	MULTI() if m#<span>Download session in progress</span>#;
 


More information about the pld-cvs-commit mailing list