Author: sparky
Date: Mon Jun  8 14:39:16 2009
New Revision: 10385

Modified:
   toys/fun/rsget.pl
Log:
- MU does not require cookies now


Modified: toys/fun/rsget.pl
==============================================================================
--- toys/fun/rsget.pl   (original)
+++ toys/fun/rsget.pl   Mon Jun  8 14:39:16 2009
@@ -1069,18 +1069,13 @@
        @ISA = qw(Get);
 }
 
-my $mucookie = 0;
 sub new
 {
        my $proto = shift;
        my $class = ref $proto || $proto;
        my $url = shift;
 
-       ++$mucookie;
-       my $cookie = ".cookie.mu.$mucookie.txt";
-       unlink $cookie if -e $cookie;
-
-       Get::makenew( "MU", $class, $url, cookies => $cookie );
+       Get::makenew( "MU", $class, $url );
 }
 
 sub stage1
@@ -1168,12 +1163,6 @@
        $self->download();
 }
 
-sub DESTROY
-{
-       my $self = shift;
-       unlink $self->{cookies};
-}
-
 $getters{MU} = {
        uri => qr{(?:www\.)?mega(upload|porn)\.com/\?d=.*?},
        add => sub { Get::MegaUpload->new( @_ ) },
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to