Author: pawelz
Date: Mon Aug  2 20:38:55 2010
New Revision: 11748

Modified:
   toys/rsget.pl/Link/Gazeta
Log:
- <param name="FlashVars" means that binary link will be encoded as binary
  file. It seems to be enough to wait a while and try again.


Modified: toys/rsget.pl/Link/Gazeta
==============================================================================
--- toys/rsget.pl/Link/Gazeta   (original)
+++ toys/rsget.pl/Link/Gazeta   Mon Aug  2 20:38:55 2010
@@ -15,6 +15,9 @@
 start:
        GET( $-{_uri} );
 
+       RESTART( irand( 10, 60 ), "unable to parse response, restarting" )
+               if m#<param name="FlashVars"#;
+
        ERROR( "no links found." )
                if ! m{flashvars: 
"pid=swfObj&m=http://serwisy\.gazeta\.pl/(.*?)\?xx=(\d+)%26xxd=(\d+)};
 
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to