bitpiracy: fixes

This commit is contained in:
kaso17
2019-01-16 11:12:32 +01:00
committed by GitHub
parent 42b4fae278
commit b6cf6c4e16

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Specialized; using System.Collections.Specialized;
using System.Globalization; using System.Globalization;
@@ -15,7 +15,7 @@ using NLog;
namespace Jackett.Common.Indexers namespace Jackett.Common.Indexers
{ {
public class Digitalcore : BaseWebIndexer public class BitsPiracy : BaseWebIndexer
{ {
private string SearchUrl { get { return SiteLink + "api/v1/torrents"; } } private string SearchUrl { get { return SiteLink + "api/v1/torrents"; } }
private string LoginUrl { get { return SiteLink + "api/v1/auth"; } } private string LoginUrl { get { return SiteLink + "api/v1/auth"; } }
@@ -26,7 +26,7 @@ namespace Jackett.Common.Indexers
set { base.configData = value; } set { base.configData = value; }
} }
public Digitalcore(IIndexerConfigurationService configService, WebClient w, Logger l, IProtectionService ps) public BitsPiracy(IIndexerConfigurationService configService, WebClient w, Logger l, IProtectionService ps)
: base(name: "BitsPiracy", : base(name: "BitsPiracy",
description: "BitsPiracy is a Private Torrent Tracker for MOVIES / TV / GENERAL", description: "BitsPiracy is a Private Torrent Tracker for MOVIES / TV / GENERAL",
link: "https://bitspiracy.org/", link: "https://bitspiracy.org/",