RE: Broadcatching

"Bauer, Georg" <[email protected]> Thu, 18 Mar 2004 14:19:12 +0100
Newsgroups gmane.comp.python.pyds.user
Message-ID <[email protected]>
Hi!

> BitTorrent is written in pure Python, and btdownloadheadless.py works
> in commandline ;-)

Oh. That makes things a little bit easier ;-)

So the only thing needed would be an extension of DownstreamTool's URLOpener
and FancyURLOpener classes to handle .torrent files by additionally starting
a pipe with btdownloadheadless running. It might be a good idea to write
this in a way that allows downstream hooks in an more abstract way - like
the upstream hooks allow to trigger different things based on file
extensions.

bye, Georg