SVN: toys/rsget.pl/Get/RapidShark
sparky
sparky at pld-linux.org
Sat Jun 5 13:44:05 CEST 2010
Author: sparky
Date: Sat Jun 5 13:44:04 2010
New Revision: 11545
Modified:
toys/rsget.pl/Get/RapidShark
Log:
- updated / fixed - no "file not found" detectors
Modified: toys/rsget.pl/Get/RapidShark
==============================================================================
--- toys/rsget.pl/Get/RapidShark (original)
+++ toys/rsget.pl/Get/RapidShark Sat Jun 5 13:44:04 2010
@@ -11,7 +11,7 @@
tos: "http://www.rapidshark.pl/tos.html"
uri: qr{rapidshark\.pl/[a-z0-9]{12}}
slots: max
-status: BROKEN 2010-06-04
+status: OK 2010-06-05
unify:
return "http://www.rapidshark.pl/$1"
@@ -23,7 +23,9 @@
ERROR( "file not found" )
if m{<b>(Plik nie został odnaleziony|File Not Found|Datei nicht gefunden)</b>};
ERROR( "file not found" )
- if m{<font class="err">No such file};
+ if m{<font class="err">(Brak|No such file)};
+ ERROR( "file not found" )
+ if m{<font style="font-size:12px;">Probujesz otworzyć adres <font color="red">.*//</font> \(\)</font>};
! m{<font style="font-size:12px;">Probujesz otworzyć adres <font color="red">.*/(.*?)</font> \(($STDSIZE)\)</font>};
INFO( name => $1, asize => $2 );
More information about the pld-cvs-commit
mailing list