-2

Is there a way to download all of the chunks or contents from a Torrent file In python?

say i had a torrent file with contents

song1.mp3 song2.mp3 song3.mp3

how would i download these files?

P'sao
  • 2,946
  • 11
  • 39
  • 48
  • 1
    http://fileformats.wikia.com/wiki/Torrent_file – Marc B Oct 07 '11 at 04:52
  • 1
    I have no idea if you want to decode the torrent file itself, decode the contents of the torrent file, or download the files referenced by the torrent file. Explain. – Dietrich Epp Oct 07 '11 at 04:53
  • There are too many torrent downloaders. What's wrong with them? – JBernardo Oct 07 '11 at 04:55
  • Its part of my larger project and it needs to download torrent files...if there is a torrent downloader that i can control with python that would work too – P'sao Oct 07 '11 at 04:57

1 Answers1

2

You can use a python client.

The last version of the original Bittorrent client is available via Sourceforge:

http://sourceforge.net/p/bittorrent/code/

There is also Bittornado as a pure python client:

http://www.bittornado.com/

knitti
  • 6,817
  • 31
  • 42