mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-07 08:13:45 +01:00
parent
d8c9225d09
commit
29dcbadfca
1 changed files with 4 additions and 1 deletions
|
|
@ -200,11 +200,14 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
|
||||
foreach (var row in jsonResponse.Resource.Torrents)
|
||||
{
|
||||
var infoUrl = $"{_settings.BaseUrl}torrents/{row.Id}";
|
||||
|
||||
var release = new TorrentInfo
|
||||
{
|
||||
Title = row.Name,
|
||||
InfoUrl = $"{_settings.BaseUrl}torrents/{row.Id}",
|
||||
InfoUrl = infoUrl,
|
||||
DownloadUrl = $"{_settings.BaseUrl}torrent/download/{row.Id}.{jsonResponse.Resource.Rsskey}",
|
||||
Guid = infoUrl,
|
||||
PosterUrl = row.PosterImage,
|
||||
PublishDate = row.CreatedAt,
|
||||
Categories = _categories.MapTrackerCatToNewznab(row.CategoryId),
|
||||
|
|
|
|||
Loading…
Reference in a new issue