You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.0 KiB
37 lines
1.0 KiB
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<RarbgTorrent> 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; }
|
|
}
|
|
}
|