|
|
|
@ -288,11 +288,11 @@ public class FunFileParser : IParseIndexerResponse
|
|
|
|
|
throw new Exception("Download links not found. Make sure you can download from the website.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var link = _settings.BaseUrl + qDownloadLink.GetAttribute("href");
|
|
|
|
|
var downloadUrl = _settings.BaseUrl + qDownloadLink.GetAttribute("href");
|
|
|
|
|
|
|
|
|
|
var qDetailsLink = row.QuerySelector("a[href^=\"details.php?id=\"]");
|
|
|
|
|
var title = qDetailsLink?.GetAttribute("title")?.Trim();
|
|
|
|
|
var details = _settings.BaseUrl + qDetailsLink?.GetAttribute("href")?.Replace("&hit=1", "");
|
|
|
|
|
var infoUrl = _settings.BaseUrl + qDetailsLink?.GetAttribute("href")?.Replace("&hit=1", "");
|
|
|
|
|
|
|
|
|
|
var categoryLink = row.QuerySelector("a[href^=\"browse.php?cat=\"]")?.GetAttribute("href");
|
|
|
|
|
var cat = ParseUtil.GetArgumentFromQueryString(categoryLink, "cat");
|
|
|
|
@ -302,9 +302,9 @@ public class FunFileParser : IParseIndexerResponse
|
|
|
|
|
|
|
|
|
|
var release = new TorrentInfo
|
|
|
|
|
{
|
|
|
|
|
Guid = link,
|
|
|
|
|
InfoUrl = link,
|
|
|
|
|
DownloadUrl = details,
|
|
|
|
|
Guid = infoUrl,
|
|
|
|
|
InfoUrl = infoUrl,
|
|
|
|
|
DownloadUrl = downloadUrl,
|
|
|
|
|
Title = title,
|
|
|
|
|
Categories = _categories.MapTrackerCatToNewznab(cat),
|
|
|
|
|
Size = ParseUtil.GetBytes(row.Children[7].TextContent),
|
|
|
|
|