mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
@@ -200,11 +200,14 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||||||
|
|
||||||
foreach (var row in jsonResponse.Resource.Torrents)
|
foreach (var row in jsonResponse.Resource.Torrents)
|
||||||
{
|
{
|
||||||
|
var infoUrl = $"{_settings.BaseUrl}torrents/{row.Id}";
|
||||||
|
|
||||||
var release = new TorrentInfo
|
var release = new TorrentInfo
|
||||||
{
|
{
|
||||||
Title = row.Name,
|
Title = row.Name,
|
||||||
InfoUrl = $"{_settings.BaseUrl}torrents/{row.Id}",
|
InfoUrl = infoUrl,
|
||||||
DownloadUrl = $"{_settings.BaseUrl}torrent/download/{row.Id}.{jsonResponse.Resource.Rsskey}",
|
DownloadUrl = $"{_settings.BaseUrl}torrent/download/{row.Id}.{jsonResponse.Resource.Rsskey}",
|
||||||
|
Guid = infoUrl,
|
||||||
PosterUrl = row.PosterImage,
|
PosterUrl = row.PosterImage,
|
||||||
PublishDate = row.CreatedAt,
|
PublishDate = row.CreatedAt,
|
||||||
Categories = _categories.MapTrackerCatToNewznab(row.CategoryId),
|
Categories = _categories.MapTrackerCatToNewznab(row.CategoryId),
|
||||||
|
Reference in New Issue
Block a user