Hello, Is there is any torrent parser available in java to extract the meta data from the .torrent files ...
A:
You can use this spec to write up a parser yourself. It shouldn't be too difficult.
Otherwise you could check out the source for any Java-based client. Azureus/Vuze has their source available (don't see any information regarding license at first look).
Jeff M
2010-08-10 05:34:54
+3
A:
An article on wiki.theory covering the bitorrent spec led to BDecoder, a decoder for the fileformat used by torrent to encode metadata. Have fun! (The page contains a link to a corresponding encoder too)
The easiest approach should be using the Bittorrent API. The provided lib contains a client, which should be capable of decoding metadata and include the java classes for that purpose.
Related questions:
Andreas_D
2010-08-10 06:14:12