Author: sparky
Date: Tue Oct 13 20:13:35 2009
New Revision: 10781

Modified:
   toys/rsget.pl/Get/RapidShare
Log:
- \d for digits


Modified: toys/rsget.pl/Get/RapidShare
==============================================================================
--- toys/rsget.pl/Get/RapidShare        (original)
+++ toys/rsget.pl/Get/RapidShare        Tue Oct 13 20:13:35 2009
@@ -17,7 +17,7 @@
        INFO( name => $1, asize => $2, kilo => 1000 );
 
        RESTART( $1 * 60, "servers overloaded" )
-               if /Unfortunately you will have to wait ([0-9]+) minutes,/;
+               if /Unfortunately you will have to wait (\d+) minutes,/;
        
        ! /form id="ff" action="(.*?)"/;
        GET( $1, post => 'dl.start=Free' );
@@ -25,7 +25,7 @@
        MULTI() if /Please wait until the download is completed/;
 
        RESTART( $1 * 60 + 10, "free limit reached" )
-               if /Instant download access! Or try again in about ([0-9]+) 
minutes\./;
+               if /Instant download access! Or try again in about (\d+) 
minutes\./;
 
        RESTART( $1 * 60, "servers overloaded" )
                if /Unfortunately you will have to wait (\d+) minutes,/
@@ -34,7 +34,7 @@
        ! /form name="dlf" action="(.*?)"/;
        $-{file_uri} = $1;
 
-       ! /var c=([0-9]+);/;
+       ! /var c=(\d+);/;
        WAIT( $1, "starting download" );
 
        DOWNLOAD( $-{file_uri}, post => { mirror => "on" } );
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to