mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mldonkey-users] read ed2k links from html-source


From: dagobert
Subject: Re: [Mldonkey-users] read ed2k links from html-source
Date: Tue, 8 Jul 2003 13:48:41 +0200
User-agent: Mutt/1.4.1i

Hi kurt!
there is a command in mlnet for this. but you can simplify it first:

#!/usr/bin/perl

use strict;

my $s = '';
while (<>)
{
  $s .= $_;
    }

      $s =~ s#(ed2k://\|(?:[^|]*\|){4}/?)#
                 print "$1\n";
                             ''
                                        #ges;



and then do a :1,$ s/ /_/g
in vim to kill those spaces. this file should be computed by mlnet with
dllinks <file> :                        download all the links contained
in the file

Bye Markus


-- 
ICQ#110424304 address@hidden
 
Operating-System: Linux/2.4.21(i686)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]