Fix BitMeTv Release Link

Patch BitMeTV very poor SSL implementation. Fixes issue
https://github.com/zone117x/Jackett/issues/220
This commit is contained in:
flightlevel 2015-10-14 21:09:00 +11:00
parent bb7fb1ec37
commit 9276be829e
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ namespace Jackett.Indexers
var date = DateTime.ParseExact(formattedTimeString, "dddd MMMM d yyyy hh:mm:ss tt", CultureInfo.InvariantCulture);
release.PublishDate = DateTime.SpecifyKind(date, DateTimeKind.Utc).ToLocalTime();
release.Link = new Uri(SiteLink + "/" + row.ChildElements.ElementAt(2).Cq().Children("a.index").Attr("href"));
release.Link = new Uri(SiteLink.Replace("http:", "https:") + "/" + row.ChildElements.ElementAt(2).Cq().Children("a.index").Attr("href"));
var sizeStr = row.ChildElements.ElementAt(6).Cq().Text();
release.Size = ReleaseInfo.GetBytes(sizeStr);