mirror of https://github.com/Jackett/Jackett
Merge pull request #259 from flightlevel/ipturl
Fix IPTorrents url encoding
This commit is contained in:
commit
6f475b18f3
|
@ -165,7 +165,7 @@ namespace Jackett.Indexers
|
|||
release.PublishDate = DateTimeUtil.FromTimeAgo(dateString);
|
||||
|
||||
var qLink = row.ChildElements.ElementAt(3).Cq().Children("a");
|
||||
release.Link = new Uri(SiteLink + qLink.Attr("href").TrimStart('/'));
|
||||
release.Link = new Uri(SiteLink + HttpUtility.UrlEncode(qLink.Attr("href").TrimStart('/')));
|
||||
|
||||
var sizeStr = row.ChildElements.ElementAt(5).Cq().Text();
|
||||
release.Size = ReleaseInfo.GetBytes(sizeStr);
|
||||
|
|
Loading…
Reference in New Issue