Refactor done

This commit is contained in:
KZ
2015-07-19 14:22:50 +01:00
parent e518a3b58e
commit 1359ad16f0
94 changed files with 1338 additions and 1407 deletions

View File

@@ -1,4 +1,5 @@
using CsQuery;
using Jackett.Indexers;
using Jackett.Models;
using Jackett.Utils;
using Newtonsoft.Json.Linq;
@@ -15,11 +16,11 @@ using System.Threading.Tasks;
using System.Web;
using System.Web.UI.WebControls;
namespace Jackett
namespace Jackett.Indexers
{
public class Freshon : IndexerInterface
public class Freshon : IIndexer
{
public event Action<IndexerInterface, string, Exception> OnResultParsingError;
public event Action<IIndexer, string, Exception> OnResultParsingError;
static string BaseUrl = "https://freshon.tv";
static string LoginUrl = BaseUrl + "/login.php";
@@ -40,7 +41,7 @@ namespace Jackett
public Uri SiteLink { get { return new Uri(BaseUrl); } }
public event Action<IndexerInterface, JToken> OnSaveConfigurationRequested;
public event Action<IIndexer, JToken> OnSaveConfigurationRequested;
Logger logger;
public Freshon(Logger l)