1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-27 18:29:47 +00:00

TorrentLeech: fix download link

This commit is contained in:
kaso17 2018-03-25 17:21:40 +02:00
parent 57fc97dff7
commit 257295ed08

View file

@ -178,7 +178,7 @@ namespace Jackett.Common.Indexers
if (!query.MatchQueryStringAND(release.Title))
continue;
release.Link = new Uri(qRow.Find(".quickdownload > a").Attr("href"));
release.Link = new Uri(SiteLink + qRow.Find(".quickdownload > a").Attr("href"));
var dateString = qRow.Find("span.addedInLine").Get(0).LastChild.NodeValue.Replace("on", string.Empty).Trim(); ;
release.PublishDate = DateTime.ParseExact(dateString, "yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture);