Author: sparky
Date: Fri Jun  4 23:17:57 2010
New Revision: 11528

Modified:
   toys/rsget.pl/Video/XHamster
Log:
- added "file not found" detection, other than that there were no problems


Modified: toys/rsget.pl/Video/XHamster
==============================================================================
--- toys/rsget.pl/Video/XHamster        (original)
+++ toys/rsget.pl/Video/XHamster        Fri Jun  4 23:17:57 2010
@@ -10,11 +10,14 @@
 web: "http://xhamster.com/";
 uri: qr{xhamster\.com/movies/\d+/}
 slots: max
-status: BROKEN 2010-06-04
+status: OK 2010-06-04
 
 start:
        GET( $-{_uri} );
 
+       ERROR( "file not found: $1" )
+               if m#<span class="error">(.*?)</span>#;
+
        ! m#flashvars.*?'srv': '(.*?)',\s*'file': '(.*?)',#s;
        my $srv = $1;
        my $file = $2;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to