Author: sparky
Date: Sat Mar  7 01:29:44 2009
New Revision: 10175

Modified:
   toys/fun/rsget.pl
Log:
- NL: unknown_file_data means file hasn't been found
- extended todo


Modified: toys/fun/rsget.pl
==============================================================================
--- toys/fun/rsget.pl   (original)
+++ toys/fun/rsget.pl   Sat Mar  7 01:29:44 2009
@@ -4,9 +4,20 @@
 # Use/modify/distribute under GPL v2 or newer.
 #
 =item TODO:
+
 - removing URI from list should stop download
 - new URI higher in the list should replace any connection
   to the same network if still in the wait stage
+- check all the URIs just after finding them in the list
+  (catch non-existing files quickly)
+- restart download if same URI has been added second time
+- MegaUpload: update, there is new page, and new captcha
+
+Wishlist:
+- multiple source IP support
+- handle multiple alternatives for same file
+- add more servers
+
 =cut
 use strict;
 use warnings;
@@ -625,7 +636,7 @@
        $self->print("starting......");
        $self->{referer} = $url;
 
-       if ( $body =~ /Sorry, we don't host the requested file/ ) {
+       if ( $body =~ /(Sorry, we don't host the requested 
file|unknown_file_data)/ ) {
                return $self->error( "file not found" );
        }
        if ( $body =~ /We will prepare your download/ ) {
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to