webtorrent/parse-torrent

Fix some small edge cases

feross opened this issue · 1 comments

for bad torrents:

  • files array may be length zero
  • don't assume files is an array
  • probably more

also handle missing announce/announceList given that torrents created via magnet+ut_metadata will be missing tracker info.