mirror of https://github.com/Jackett/Jackett
DownloadBase & DownloadUrl FIX for PHX
This commit is contained in:
parent
23737d3b19
commit
d8ff110d8b
|
@ -26,7 +26,7 @@ namespace Jackett.Indexers
|
||||||
private string SearchUrl { get { return SiteLink + "sphinx.php"; } }
|
private string SearchUrl { get { return SiteLink + "sphinx.php"; } }
|
||||||
private string TorrentCommentUrl { get { return TorrentDescriptionUrl; } }
|
private string TorrentCommentUrl { get { return TorrentDescriptionUrl; } }
|
||||||
private string TorrentDescriptionUrl { get { return SiteLink + "torrent.php?id="; } }
|
private string TorrentDescriptionUrl { get { return SiteLink + "torrent.php?id="; } }
|
||||||
private string TorrentDownloadUrl { get { return SiteLink + "get.php?action=torrent&id={id}&passkey={passkey}"; } }
|
private string TorrentDownloadUrl { get { return SiteLink + "get.php?action=private&id={id}&passkey={passkey}"; } }
|
||||||
private bool Latency { get { return ConfigData.Latency.Value; } }
|
private bool Latency { get { return ConfigData.Latency.Value; } }
|
||||||
private bool DevMode { get { return ConfigData.DevMode.Value; } }
|
private bool DevMode { get { return ConfigData.DevMode.Value; } }
|
||||||
private bool CacheMode { get { return ConfigData.HardDriveCache.Value; } }
|
private bool CacheMode { get { return ConfigData.HardDriveCache.Value; } }
|
||||||
|
@ -51,7 +51,7 @@ namespace Jackett.Indexers
|
||||||
client: w,
|
client: w,
|
||||||
logger: l,
|
logger: l,
|
||||||
p: ps,
|
p: ps,
|
||||||
downloadBase: "https://phxbit.com/torrents.php?action=download&id=",
|
downloadBase: "https://phxbit.com/get.php?action=private",
|
||||||
configData: new ConfigurationDataPhxBit())
|
configData: new ConfigurationDataPhxBit())
|
||||||
{
|
{
|
||||||
// Clean capabilities
|
// Clean capabilities
|
||||||
|
@ -332,8 +332,8 @@ namespace Jackett.Indexers
|
||||||
long size = ReleaseInfo.GetBytes(sizeStr);
|
long size = ReleaseInfo.GetBytes(sizeStr);
|
||||||
output("Size: " + sizeStr + " (" + size + " bytes)");
|
output("Size: " + sizeStr + " (" + size + " bytes)");
|
||||||
|
|
||||||
// Health
|
// Health
|
||||||
int percent = ParseUtil.CoerceInt(Regex.Match(tRow.Find("td:eq(8) > img").Attr("alt").ToString(), @"\d+").Value);
|
int percent = ParseUtil.CoerceInt(Regex.Match(tRow.Find("td:eq(8) > img").Attr("alt").ToString(), @"\d+").Value);
|
||||||
output("Health: " + percent + "%");
|
output("Health: " + percent + "%");
|
||||||
|
|
||||||
// Publish DateToString
|
// Publish DateToString
|
||||||
|
|
Loading…
Reference in New Issue