webtorrent/parse-torrent

Get more info from magnet

Extarys opened this issue · 4 comments

It would be nice to be able to retrieve file lists, torrent name and total size and maybe peers from magnet. I'm trying to combine this with maybe bittorrent-tracker or bittorrent-dht.

That information is not in the magnet. You would need to fetch it from peers/xs

Yea I know it's not in the magnet that is why I'm having a hard time figuring this out.
Could you tell me how you would do it ?

Use webtorrent and once metadata is available, destroy torrent.

Huh, thanks!