From: Eric Hodel Date: 2002-11-09T02:45:24+09:00 Subject: Re: IE leech --5uhzMJlTksuFv+PE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Andi Weiss (miner@arcor.de) wrote: > Looks very good, what you've written. But I don't know how to work with i= t. > Sorry I'm not using ruby that long. Ruby always returns an error message: > undefined superclass HTMLScanner. > Could you help me? You need XMLScan, you can get it here: http://www.ruby-lang.org/en/raa-list.rhtml?id=3D334 If you want, you can define your own file naming function and pass it in, the one I provided is very simple. =20 def my_filename_fun(url) # ... end Leecher.new(ARGV.shift, method(:my_filename_fun)).leech --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --5uhzMJlTksuFv+PE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9y/gxMypVHHlsnwQRAkE4AKCdPxjvque7/VL29UyP8kqae/R8OgCeKqDa dW2AcKMHUQmGtOgxzXaMVwI= =aXLO -----END PGP SIGNATURE----- --5uhzMJlTksuFv+PE--