using System; using System.Collections.Generic; namespace NzbDrone.Core.Indexers.Rarbg { public class RarbgResponse { public string error { get; set; } public int? error_code { get; set; } public List torrent_results { get; set; } } public class RarbgTorrent { public string title { get; set; } public string category { get; set; } public string download { get; set; } public int? seeders { get; set; } public int? leechers { get; set; } public long size { get; set; } public DateTime pubdate { get; set; } // This is named episode_info for movies as well as shows public RarbgTorrentInfo episode_info { get; set; } public int? ranked { get; set; } public string info_page { get; set; } } public class RarbgTorrentInfo { public string imdb { get; set; } public int? tvrage { get; set; } public int? tvdb { get; set; } public int? themoviedb { get; set; } } }