SVN: toys/rsget.pl/Get/zSHARE
sparky
sparky at pld-linux.org
Sun Dec 13 16:19:32 CET 2009
Author: sparky
Date: Sun Dec 13 16:19:32 2009
New Revision: 11040
Modified:
toys/rsget.pl/Get/zSHARE
Log:
- support downloading videos
Modified: toys/rsget.pl/Get/zSHARE
==============================================================================
--- toys/rsget.pl/Get/zSHARE (original)
+++ toys/rsget.pl/Get/zSHARE Sun Dec 13 16:19:32 2009
@@ -9,10 +9,14 @@
short: zS
web: "http://zshare.net/"
tos: "http://zshare.net/TOS.html"
-uri: qr{zshare\.net}
-#cookie: zs
+uri: qr{zshare\.net/(?:download|video)/[0-9a-f]+}
+cookie: zs
slots: max
-status: OK 2009-10-22
+status: OK 2009-12-13
+
+unify:
+ return "http://zshare.net/download/$1"
+ if m{zshare\.net/(?:download|video)/([0-9a-f]+)}
start:
GET( $-{_uri} );
More information about the pld-cvs-commit
mailing list