From 4f800f3f344769241624e605d841cdb630734266 Mon Sep 17 00:00:00 2001 From: Nic Carroll Date: Thu, 26 Nov 2015 00:28:00 -0700 Subject: [PATCH 1/2] Update SpeedCD.cs Change login url --- src/Jackett/Indexers/SpeedCD.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett/Indexers/SpeedCD.cs b/src/Jackett/Indexers/SpeedCD.cs index 8c7d456f1..cd25295f0 100644 --- a/src/Jackett/Indexers/SpeedCD.cs +++ b/src/Jackett/Indexers/SpeedCD.cs @@ -21,7 +21,7 @@ namespace Jackett.Indexers { public class SpeedCD : BaseIndexer, IIndexer { - private string LoginUrl { get { return SiteLink + "take_login.php"; } } + private string LoginUrl { get { return SiteLink + "login.php"; } } private string SearchUrl { get { return SiteLink + "V3/API/API.php"; } } private string SearchFormData { get { return "c53=1&c49=1&c2=1&c52=1&c41=1&c50=1&c30=1&jxt=4&jxw=b"; } } private string CommentsUrl { get { return SiteLink + "t/{0}"; } } From ccbe704ef3860a3efaf1696426c46a34d2a912d5 Mon Sep 17 00:00:00 2001 From: Nic Carroll Date: Fri, 4 Dec 2015 13:01:36 -0700 Subject: [PATCH 2/2] Add Movie Support to Speed.cd --- src/Jackett/Indexers/SpeedCD.cs | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/Jackett/Indexers/SpeedCD.cs b/src/Jackett/Indexers/SpeedCD.cs index cd25295f0..8bfbd5592 100644 --- a/src/Jackett/Indexers/SpeedCD.cs +++ b/src/Jackett/Indexers/SpeedCD.cs @@ -1,4 +1,4 @@ -using CsQuery; +using CsQuery; using Jackett.Models; using Jackett.Services; using Jackett.Utils; @@ -21,9 +21,9 @@ namespace Jackett.Indexers { public class SpeedCD : BaseIndexer, IIndexer { - private string LoginUrl { get { return SiteLink + "login.php"; } } + private string LoginUrl { get { return SiteLink + "take.login.php"; } } private string SearchUrl { get { return SiteLink + "V3/API/API.php"; } } - private string SearchFormData { get { return "c53=1&c49=1&c2=1&c52=1&c41=1&c50=1&c30=1&jxt=4&jxw=b"; } } + private string SearchFormData { get { return "c53=1&c49=1&c2=1&c52=1&c41=1&c50=1&c30=1&c1=1&c42=1&c32=1&c43=1&c47=1&c28=1&c48=1&c40=1&jxt=4&jxw=b"; } } private string CommentsUrl { get { return SiteLink + "t/{0}"; } } private string DownloadUrl { get { return SiteLink + "download.php?torrent={0}"; } } @@ -37,13 +37,24 @@ namespace Jackett.Indexers : base(name: "Speed.cd", description: "Your home now!", link: "http://speed.cd/", - caps: TorznabUtil.CreateDefaultTorznabTVCaps(), + caps: new TorznabCapabilities(TorznabCatType.Movies, + TorznabCatType.TV, + TorznabCatType.TVSD, + TorznabCatType.TVHD, + TorznabCatType.Movies, + TorznabCatType.MoviesOther, + TorznabCatType.MoviesHD, + TorznabCatType.Movies3D, + TorznabCatType.MoviesBluRay, + TorznabCatType.MoviesDVD + ), manager: i, client: wc, logger: l, p: ps, configData: new ConfigurationDataBasicLogin()) { + } public async Task ApplyConfiguration(JToken configJson)