|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Net;
|
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
|
using NzbDrone.Common.Http;
|
|
|
|
@ -36,7 +37,7 @@ namespace NzbDrone.Core.Indexers.TorrentPotato
|
|
|
|
|
torrentInfo.Size = (long)torrent.size*1000*1000;
|
|
|
|
|
torrentInfo.DownloadUrl = torrent.download_url;
|
|
|
|
|
torrentInfo.InfoUrl = torrent.details_url;
|
|
|
|
|
torrentInfo.PublishDate = torrent.publishdate.ToUniversalTime();
|
|
|
|
|
torrentInfo.PublishDate = torrent.publish_date.ToUniversalTime();
|
|
|
|
|
torrentInfo.Seeders = torrent.seeders;
|
|
|
|
|
torrentInfo.Peers = torrent.leechers + torrent.seeders;
|
|
|
|
|
torrentInfo.Freeleech = torrent.freeleech;
|
|
|
|
|