SVN: toys/rsget.pl/Get/PrzeklejPL
pawelz
pawelz at pld-linux.org
Thu Jul 29 22:14:18 CEST 2010
Author: pawelz
Date: Thu Jul 29 22:14:18 2010
New Revision: 11726
Modified:
toys/rsget.pl/Get/PrzeklejPL
Log:
- more url schemas: www. prefix, and przeklej.pl/d/
Modified: toys/rsget.pl/Get/PrzeklejPL
==============================================================================
--- toys/rsget.pl/Get/PrzeklejPL (original)
+++ toys/rsget.pl/Get/PrzeklejPL Thu Jul 29 22:14:18 2010
@@ -9,10 +9,14 @@
short: przeklej.pl
web: "http://www.przeklej.pl/"
tos: "http://www.przeklej.pl/regulamin"
-uri: qr{przeklej\.pl/plik/}
+uri: qr{(?:www\.)?przeklej\.pl/(?:plik|d)/}
slots: max
status: OK 2010-07-14
+unify:
+ return "http://przeklej.pl/$1/$2"
+ if m{/(plik|d)/(.+)};
+
start:
GET( $-{_uri} );
More information about the pld-cvs-commit
mailing list