SVN: toys/rsget.pl/Get/Hostuje
pawelz
pawelz at pld-linux.org
Sun Sep 26 18:46:24 CEST 2010
Author: pawelz
Date: Sun Sep 26 18:46:23 2010
New Revision: 11817
Modified:
toys/rsget.pl/Get/Hostuje
Log:
- Catch "file not found" error. Closes RSGETPL-38.
Modified: toys/rsget.pl/Get/Hostuje
==============================================================================
--- toys/rsget.pl/Get/Hostuje (original)
+++ toys/rsget.pl/Get/Hostuje Sun Sep 26 18:46:23 2010
@@ -15,7 +15,7 @@
start:
GET( $-{_uri} );
- ERROR( "file not found: $1" ) if m#<span class="fail_info">\s*(.*?)\s*</span>#s;
+ ERROR( "file not found: $1" ) if m#Podany plik nie został odnaleziony#s;
! m#<b>Plik:</b> (.+?)<br><b>Rozmiar:</b> ($STDSIZE)<br><b>#;
my $fname = $1;
More information about the pld-cvs-commit
mailing list