ci/cd: exclude indexers from code coverage (#8448)

This commit is contained in:
Diego Heras 2020-05-04 01:35:52 +02:00 committed by GitHub
parent fa4b9e71ad
commit 162ad104ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
98 changed files with 196 additions and 17 deletions

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Pier720 : BaseWebIndexer
{
public Pier720(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps) :

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
@ -27,6 +28,7 @@ namespace Jackett.Common.Indexers
/// Provider for Abnormal Private French Tracker
/// gazelle based but the ajax.php API seems to be broken (always returning failure)
/// </summary>
[ExcludeFromCodeCoverage]
public class Abnormal : BaseCachingWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers.Abstract
{
[ExcludeFromCodeCoverage]
public abstract class AvistazTracker : BaseWebIndexer
{
private string LoginUrl => SiteLink + "auth/login";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Jackett.Common.Models;
using Jackett.Common.Models.IndexerConfig;
@ -12,6 +13,7 @@ using NLog;
namespace Jackett.Common.Indexers.Abstract
{
[ExcludeFromCodeCoverage]
public abstract class CouchPotatoTracker : BaseWebIndexer
{
protected string endpoint;

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -17,6 +18,7 @@ using WebClient = Jackett.Common.Utils.Clients.WebClient;
namespace Jackett.Common.Indexers.Abstract
{
[ExcludeFromCodeCoverage]
public abstract class GazelleTracker : BaseWebIndexer
{
protected string LoginUrl => SiteLink + "login.php";

View File

@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -6,6 +7,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class AlphaRatio : GazelleTracker
{
public AlphaRatio(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -18,6 +19,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
internal class AniDub : BaseWebIndexer
{
private static readonly Regex EpisodeInfoRegex = new Regex(@"\[(.*?)(?: \(.*?\))? из (.*?)\]$", RegexOptions.Compiled | RegexOptions.IgnoreCase);

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
@ -19,6 +20,7 @@ using static Jackett.Common.Models.IndexerConfig.ConfigurationData;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Anidex : BaseWebIndexer
{
public Anidex(IIndexerConfigurationService configService, Utils.Clients.WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class AnimeBytes : BaseCachingWebIndexer
{
private string ScrapeUrl => SiteLink + "scrape.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -18,6 +19,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class AnimeTorrents : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -6,6 +7,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TehConnectionMe : GazelleTracker
{
public override string[] LegacySiteLinks { get; protected set; } = new string[] {

View File

@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -6,6 +7,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Avistaz : AvistazTracker
{
public Avistaz(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class AwesomeHD : BaseWebIndexer
{
private string SearchUrl => SiteLink + "searchapi.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -18,7 +19,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
// To comply with the rules for this tracker, only the acronym is used and no publicly displayed URLs to the site.
[ExcludeFromCodeCoverage]
public class BB : BaseWebIndexer
{
private string BaseUrl => StringUtil.FromBase64("aHR0cHM6Ly9iYWNvbmJpdHMub3JnLw==");

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -18,6 +19,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class BJShare : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class BakaBT : BaseWebIndexer
{
private string SearchUrl => SiteLink + "browse.php?only=0&hentai=1&incomplete=1&lossless=1&hd=1&multiaudio=1&bonus=1&reorder=1&q=";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class BitCityReloaded : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login/index.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class BitHdtv : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class BroadcastTheNet : BaseWebIndexer
{
// Docs at http://apidocs.broadcasthe.net/docs.php

View File

@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -6,6 +7,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class BrokenStones : GazelleTracker
{
public BrokenStones(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -17,6 +18,7 @@ using WebClient = Jackett.Common.Utils.Clients.WebClient;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Cinecalidad : BaseWebIndexer
{
private const int MaxItemsPerPage = 15;

View File

@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -6,6 +7,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class CinemaZ : AvistazTracker
{
public CinemaZ(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -13,6 +14,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Corsarored : BaseWebIndexer
{
private const int MaxSearchPageLimit = 4;

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ -11,6 +12,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class DanishBits : CouchPotatoTracker
{
public override string[] LegacySiteLinks { get; protected set; } = new string[] {

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class DigitalHive : BaseWebIndexer
{
private string SearchUrl => SiteLink + "browse.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -20,7 +21,7 @@ using WebClient = Jackett.Common.Utils.Clients.WebClient;
namespace Jackett.Common.Indexers
{
// ReSharper disable once UnusedType.Global
[ExcludeFromCodeCoverage]
public class DivxTotal : BaseWebIndexer
{
private const int MaxResultsPerPage = 15;

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,7 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
// ReSharper disable once UnusedType.Global
[ExcludeFromCodeCoverage]
internal class EliteTracker : BaseWebIndexer
{
private string LoginUrl => SiteLink + "takelogin.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -15,8 +16,7 @@ using WebClient = Jackett.Common.Utils.Clients.WebClient;
namespace Jackett.Common.Indexers
{
// ReSharper disable once UnusedType.Global
// ReSharper disable once UnusedMember.Global
[ExcludeFromCodeCoverage]
public class EpubLibre : BaseWebIndexer
{
private string SearchUrl => SiteLink + "catalogo/index/{0}/nuevo/todos/sin/todos/{1}/ajax";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -12,6 +13,7 @@ using NLog;
namespace Jackett.Common.Indexers.Feeds
{
[ExcludeFromCodeCoverage]
public class AnimeTosho : BaseNewznabIndexer
{
public AnimeTosho(IIndexerConfigurationService configService, WebClient client, Logger logger, IProtectionService p)

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Jackett.Common.Models;
using Jackett.Common.Models.IndexerConfig;
@ -10,6 +11,7 @@ using NLog;
namespace Jackett.Common.Indexers.Feeds
{
[ExcludeFromCodeCoverage]
public abstract class BaseFeedIndexer : BaseWebIndexer
{
protected abstract Uri FeedUri { get; }

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Xml.Linq;
using Jackett.Common.Models;
@ -11,6 +12,7 @@ using NLog;
namespace Jackett.Common.Indexers.Feeds
{
[ExcludeFromCodeCoverage]
public abstract class BaseNewznabIndexer : BaseFeedIndexer
{
protected BaseNewznabIndexer(string name, string link, string description, IIndexerConfigurationService configService, WebClient client, Logger logger, ConfigurationData configData, IProtectionService p, TorznabCapabilities caps = null, string downloadBase = null) : base(name, link, description, configService, client, logger, configData, p, caps, downloadBase)

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading.Tasks;
using Jackett.Common.Models;
@ -13,6 +14,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class FileList : BaseWebIndexer
{
public override string[] LegacySiteLinks { get; protected set; } =

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading.Tasks;
using AngleSharp.Html.Parser;
@ -14,6 +15,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class FunFile : BaseWebIndexer
{
private string LoginUrl => SiteLink + "takelogin.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Fuzer : BaseWebIndexer
{
public override string[] LegacySiteLinks { get; protected set; } =

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class GazelleGames : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,7 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
// ReSharper disable once InconsistentNaming
[ExcludeFromCodeCoverage]
public class GimmePeers : BaseWebIndexer
{
private string BrowseUrl => SiteLink + "browse.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -13,6 +14,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class HDBitsApi : BaseWebIndexer
{
private string APIUrl => SiteLink + "api/";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ -16,6 +17,7 @@ using static Jackett.Common.Models.IndexerConfig.ConfigurationData;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class HDOlimpo : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login";

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -8,6 +9,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class HDOnly : GazelleTracker
{
public HDOnly(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class HDSpace : BaseWebIndexer
{
private string LoginUrl => SiteLink + "index.php?page=login";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class HDTorrents : BaseWebIndexer
{
private string SearchUrl => SiteLink + "torrents.php?";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Hebits : BaseWebIndexer
{
private string LoginPostUrl => SiteLink + "takeloginAjax.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
internal class HorribleSubs : BaseWebIndexer
{
private string ApiEndpoint => SiteLink + "api.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -14,6 +15,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class IPTorrents : BaseWebIndexer
{
private string SearchUrl => SiteLink + "t";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class ImmortalSeed : BaseWebIndexer
{
private string BrowsePage => SiteLink + "browse.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net;
using System.Text;
@ -18,7 +19,7 @@ using WebClient = Jackett.Common.Utils.Clients.WebClient;
namespace Jackett.Common.Indexers
{
// ReSharper disable once UnusedType.Global
[ExcludeFromCodeCoverage]
public class InternetArchive : BaseWebIndexer
{
private string SearchUrl => SiteLink + "advancedsearch.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -18,6 +19,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
internal class LostFilm : BaseWebIndexer
{
private static readonly Regex parsePlayEpisodeRegex = new Regex("PlayEpisode\\('(?<id>\\d{1,3})(?<season>\\d{3})(?<episode>\\d{3})'\\)", RegexOptions.Compiled | RegexOptions.IgnoreCase);

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -19,7 +20,7 @@ using WebClient = Jackett.Common.Utils.Clients.WebClient;
namespace Jackett.Common.Indexers
{
// ReSharper disable once UnusedType.Global
[ExcludeFromCodeCoverage]
public class MejorTorrent : BaseWebIndexer
{
private static class MejorTorrentCatType

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Milkie : BaseWebIndexer
{
private string TorrentsEndpoint => SiteLink + "api/v1/torrents";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class MoreThanTV : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Myanonamouse : BaseWebIndexer
{
private string LoginUrl => SiteLink + "takelogin.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -18,6 +19,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class NCore : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class NewRealWorld : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,6 +17,7 @@ using static Jackett.Common.Models.IndexerConfig.ConfigurationData;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Newpct : BaseCachingWebIndexer
{
private enum ReleaseType

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
@ -23,9 +24,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
/// <summary>s
/// Provider for Norbits Private Tracker
/// </summary>
[ExcludeFromCodeCoverage]
public class Norbits : BaseCachingWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
@ -22,9 +23,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
/// <summary>s
/// Provider for Nordicbits Private Tracker
/// </summary>
[ExcludeFromCodeCoverage]
public class Nordicbits : BaseCachingWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -7,6 +8,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Orpheus : GazelleTracker
{
public Orpheus(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Partis : BaseWebIndexer
{
private string LoginUrl => SiteLink + "user/login/";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class PassThePopcorn : BaseWebIndexer
{
private static string SearchUrl => "https://passthepopcorn.me/torrents.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class PiXELHD : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class PirateTheNet : BaseWebIndexer
{
private string SearchUrl => SiteLink + "torrentsutils.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -14,6 +15,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class PolishTracker : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Pretome : BaseWebIndexer
{
private string LoginUrl => SiteLink + "takelogin.php";

View File

@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -6,6 +7,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class PrivateHD : AvistazTracker
{
public PrivateHD(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,4 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -7,6 +8,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Psytorrents : GazelleTracker
{
public Psytorrents(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -17,6 +18,7 @@ using static Jackett.Common.Models.IndexerConfig.ConfigurationData;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Rarbg : BaseWebIndexer
{
// API doc: https://torrentapi.org/apidocs_v2.txt?app_id=Jackett

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -7,6 +8,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class PassTheHeadphones : GazelleTracker
{
public PassTheHeadphones(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class RevolutionTT : BaseWebIndexer
{
private string LandingPageURL => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class SceneHD : BaseWebIndexer
{
private string SearchUrl => SiteLink + "browse.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class SceneTime : BaseWebIndexer
{
private string StartPageUrl => SiteLink + "login.php";

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -8,6 +9,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class SecretCinema : GazelleTracker
{
public SecretCinema(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Shazbat : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class ShowRSS : BaseWebIndexer
{
private string SearchAllUrl => SiteLink + "other/all.rss";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class SolidTorrents : BaseWebIndexer
{
private string SearchUrl => SiteLink + "api/v1/search";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class SpeedCD : BaseWebIndexer
{
private string LoginUrl1 => SiteLink + "checkpoint/API";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Superbits : BaseWebIndexer
{
private string SearchUrl => SiteLink + "api/v1/torrents";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TVVault : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TVstore : BaseWebIndexer
{
private readonly Dictionary<int, long> _imdbLookup = new Dictionary<int, long>(); // _imdbLookup[internalId] = imdbId

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TorrentBytes : BaseWebIndexer
{
private string LoginUrl => SiteLink + "takelogin.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TorrentDay : BaseWebIndexer
{
private string StartPageUrl => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TorrentHeaven : BaseWebIndexer
{
public TorrentHeaven(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps) :

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TorrentLeech : BaseWebIndexer
{
private string LoginUrl => SiteLink + "user/account/login/";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading.Tasks;
using Jackett.Common.Models;
@ -15,6 +16,7 @@ using static Jackett.Common.Models.IndexerConfig.ConfigurationData;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TorrentNetwork : BaseWebIndexer
{
private string APIUrl => SiteLink + "api/";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TorrentSyndikat : BaseWebIndexer
{
private string SearchUrl => SiteLink + "browse.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net;
using System.Text;
@ -18,6 +19,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Torrentech : BaseWebIndexer
{
private string LoginUrl => SiteLink + "index.php?act=Login&CODE=01&CookieDate=1";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -14,6 +15,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Torrentscsv : BaseWebIndexer
{

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net;
using System.Text;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TorrentSeeds : BaseWebIndexer
{
private string LoginUrl => SiteLink + "takelogin.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Net;
using System.Text;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class TransmitheNet : BaseWebIndexer
{
private string LoginUrl => SiteLink + "login.php";

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -17,6 +18,7 @@ using static Jackett.Common.Models.IndexerConfig.ConfigurationData;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class XSpeeds : BaseWebIndexer
{
private string LandingUrl => SiteLink + "login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Net;
@ -19,9 +20,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
/// <summary>
/// Provider for Xthor Private French Tracker
/// </summary>
[ExcludeFromCodeCoverage]
public class Xthor : BaseCachingWebIndexer
{
private static string ApiEndpoint => "https://api.xthor.tk/";

View File

@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -6,6 +7,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class CGPeers : GazelleTracker
{
public override string[] LegacySiteLinks { get; protected set; } = new string[] {

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Digitalcore : BaseWebIndexer
{
private string SearchUrl => SiteLink + "api/v1/torrents";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class myAmity : BaseWebIndexer
{
private string LoginUrl => SiteLink + "account-login.php";

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
@ -7,6 +8,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class notwhatcd : GazelleTracker
{
public notwhatcd(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ -16,6 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Pornolab : BaseWebIndexer
{
private string LoginUrl => SiteLink + "forum/login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@ -17,6 +18,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class RuTracker : BaseWebIndexer
{
private string LoginUrl => SiteLink + "forum/login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Toloka : BaseWebIndexer
{
private string LoginUrl => SiteLink + "/login.php";

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Text;
@ -15,6 +16,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class Yts : BaseWebIndexer
{
public override string[] LegacySiteLinks { get; protected set; } = new string[] {