SVN: toys/rsget.pl/Video/Break

sparky sparky at pld-linux.org
Wed Dec 16 02:34:06 CET 2009


Author: sparky
Date: Wed Dec 16 02:34:06 2009
New Revision: 11048

Modified:
   toys/rsget.pl/Video/Break
Log:
- some "file not found" detection


Modified: toys/rsget.pl/Video/Break
==============================================================================
--- toys/rsget.pl/Video/Break	(original)
+++ toys/rsget.pl/Video/Break	Wed Dec 16 02:34:06 2009
@@ -10,11 +10,14 @@
 web: "http://www.break.com/"
 uri: qr{break\.com}
 slots: max
-status: OK 2009-10-05
+status: OK 2009-12-16
 
 start:
 	GET( $-{_uri} );
 
+	ERROR( "file not found" )
+		if m{404 Page Not Found};
+
 	! m{sGlobalFileName='(.*?)'};
 	my $name = $1;
 	$name .= ".flv";


More information about the pld-cvs-commit mailing list