static void DeserializeTorrent(IDictionary<string, string> item, ITorrent torrent) { try { torrent.RawTitle = item.RequireString("title"); torrent.CleanTitle = Parsing.NameCleaner.Clean(torrent.RawTitle); torrent.Seeders = item.RequireInt("seeders"); torrent.Leechers = item.RequireInt("leechers"); torrent.ReleaseGroup = item.OptionalString("releaseGroup") ?? string.Empty; torrent.Category = ParseCategory(item.RequireString("category")); } catch (Exception e) { throw new DeserializeFailedException (item, e); } }