mirror of https://github.com/Jackett/Jackett
Fix IPTorrents POST url (#587)
This commit is contained in:
parent
6867c4a234
commit
0abec9c1b6
|
@ -22,6 +22,7 @@ namespace Jackett.Indexers
|
|||
public class IPTorrents : BaseIndexer, IIndexer
|
||||
{
|
||||
private string UseLink { get { return (!String.IsNullOrEmpty(this.configData.AlternateLink.Value) ? this.configData.AlternateLink.Value : SiteLink); } }
|
||||
string TakeLoginUrl { get { return UseLink + "take_login.php"; } }
|
||||
private string BrowseUrl { get { return UseLink + "t"; } }
|
||||
private List<String> KnownURLs = new List<String> { "https://nemo.iptorrents.com/", "https://ipt.rocks/" };
|
||||
|
||||
|
@ -98,7 +99,7 @@ namespace Jackett.Indexers
|
|||
};
|
||||
var request = new Utils.Clients.WebRequest()
|
||||
{
|
||||
Url = UseLink,
|
||||
Url = TakeLoginUrl,
|
||||
Type = RequestType.POST,
|
||||
Referer = UseLink,
|
||||
PostData = pairs
|
||||
|
|
Loading…
Reference in New Issue