SVN: toys/rsget.pl/Get/MegaShares

sparky sparky at pld-linux.org
Sat Oct 24 03:16:34 CEST 2009


Author: sparky
Date: Sat Oct 24 03:16:34 2009
New Revision: 10846

Modified:
   toys/rsget.pl/Get/MegaShares
Log:
- allow the other type of links


Modified: toys/rsget.pl/Get/MegaShares
==============================================================================
--- toys/rsget.pl/Get/MegaShares	(original)
+++ toys/rsget.pl/Get/MegaShares	Sat Oct 24 03:16:34 2009
@@ -2,12 +2,12 @@
 
 name: MegaShares
 short: MS
-uri: qr{d01\.megashares\.com/\?d01=}
+uri: qr{d01\.megashares\.com/(\?d01=|dl/)}
 cookie: !ms
-status: OK 2009-10-22
+status: OK 2009-10-24
 
 unify:
-	return "http://d01.megashares.com/?d01=$1" if /\?d01=([0-9a-f]{7})/;
+	return "http://d01.megashares.com/?d01=$1" if m#(?:\?d01=|/dl/)([0-9a-f]{7})#;
 
 start:
 	# create fake cookie to skip first page


More information about the pld-cvs-commit mailing list