当前位置: 首页>>代码示例>>C#>>正文


C# IIndexerManagerService类代码示例

本文整理汇总了C#中IIndexerManagerService的典型用法代码示例。如果您正苦于以下问题:C# IIndexerManagerService类的具体用法?C# IIndexerManagerService怎么用?C# IIndexerManagerService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IIndexerManagerService类属于命名空间,在下文中一共展示了IIndexerManagerService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Rarbg

        public Rarbg(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "RARBG",
                description: "RARBG",
                link: defaultSiteLink,
                caps: new TorznabCapabilities(),
                manager: i,
                client: wc,
                logger: l,
                p: ps,
                configData: new ConfigurationDataUrl(defaultSiteLink))
        {
            categoryLabels = new Dictionary<string, int>();

            AddCat(4, TorznabCatType.XXX, "XXX (18+)");
            AddCat(14, TorznabCatType.MoviesSD, "Movies/XVID");
            AddCat(48, TorznabCatType.MoviesHD, "Movies/XVID/720");
            AddCat(17, TorznabCatType.MoviesSD, "Movies/x264");
            AddCat(44, TorznabCatType.MoviesHD, "Movies/x264/1080");
            AddCat(45, TorznabCatType.MoviesHD, "Movies/x264/720");
            AddCat(47, TorznabCatType.Movies3D, "Movies/x264/3D");
            AddCat(42, TorznabCatType.MoviesBluRay, "Movies/Full BD");
            AddCat(46, TorznabCatType.MoviesBluRay, "Movies/BD Remux");
            AddCat(18, TorznabCatType.TVSD, "TV Episodes");
            AddCat(41, TorznabCatType.TVHD, "TV HD Episodes");
            AddCat(23, TorznabCatType.AudioMP3, "Music/MP3");
            AddCat(25, TorznabCatType.AudioLossless, "Music/FLAC");
            AddCat(27, TorznabCatType.PCGames, "Games/PC ISO");
            AddCat(28, TorznabCatType.PCGames, "Games/PC RIP");
            AddCat(40, TorznabCatType.ConsolePS3, "Games/PS3");
            AddCat(32, TorznabCatType.ConsoleXbox360, "Games/XBOX-360");
            AddCat(33, TorznabCatType.PCISO, "Software/PC ISO");
            AddCat(35, TorznabCatType.BooksEbook, "e-Books");
        }
开发者ID:WarlaxZ,项目名称:Jackett,代码行数:33,代码来源:Rarbg.cs

示例2: Strike

        public Strike(IIndexerManagerService i, Logger l, IWebClient wc, IProtectionService ps)
            : base(name: "Strike",
                description: "Torrent search engine",
                link: defaultSiteLink,
                caps: new TorznabCapabilities(),
                manager: i,
                client: wc,
                logger: l,
                p: ps,
                configData: new ConfigurationDataStrike(defaultSiteLink))
        {
            AddCategoryMapping("Anime", TorznabCatType.TVAnime);
            AddCategoryMapping("Applications", TorznabCatType.PC);
            AddCategoryMapping("Books", TorznabCatType.Books);
            AddCategoryMapping("Games", TorznabCatType.PCGames);
            AddCategoryMapping("Movies", TorznabCatType.Movies);
            AddCategoryMapping("TV", TorznabCatType.TV);
            AddCategoryMapping("XXX", TorznabCatType.XXX);
            AddCategoryMapping("Music", TorznabCatType.Audio);

            /*AddCategoryMapping("Movies:Highres Movies", TorznabCatType.MoviesHD);
            AddCategoryMapping("Movies:3D Movies", TorznabCatType.Movies3D);
            AddCategoryMapping("Books:Ebooks", TorznabCatType.BooksEbook);
            AddCategoryMapping("Books:Comics", TorznabCatType.BooksComics);
            AddCategoryMapping("Books:Audio Books", TorznabCatType.AudioAudiobook);
            AddCategoryMapping("Games:XBOX360", TorznabCatType.ConsoleXbox360);
            AddCategoryMapping("Games:Wii", TorznabCatType.ConsoleWii);
            AddCategoryMapping("Games:PSP", TorznabCatType.ConsolePSP);
            AddCategoryMapping("Games:PS3", TorznabCatType.ConsolePS3);
            AddCategoryMapping("Games:PC", TorznabCatType.PCGames);
            AddCategoryMapping("Games:Android", TorznabCatType.PCPhoneAndroid);
            AddCategoryMapping("Music:Mp3", TorznabCatType.AudioMP3);*/
        }
开发者ID:WarlaxZ,项目名称:Jackett,代码行数:33,代码来源:Strike.cs

示例3: PirateTheNet

        public PirateTheNet(IIndexerManagerService i, Logger l, IWebClient w, IProtectionService ps)
            : base(name: "PirateTheNet",
                description: "A movie tracker",
                link: "http://piratethe.net/",
                caps: new TorznabCapabilities(),
                manager: i,
                client: w,
                logger: l,
                p: ps,
                configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "en-us";

            this.configData.DisplayText.Value = "Only the results from the first search result page are shown, adjust your profile settings to show the maximum.";
            this.configData.DisplayText.Name = "Notice";

            AddCategoryMapping("1080P", TorznabCatType.MoviesHD);
            AddCategoryMapping("720P", TorznabCatType.MoviesHD);
            AddCategoryMapping("BDRip", TorznabCatType.MoviesSD);
            AddCategoryMapping("BluRay", TorznabCatType.MoviesBluRay);
            AddCategoryMapping("BRRip", TorznabCatType.MoviesSD);
            AddCategoryMapping("DVDR", TorznabCatType.MoviesDVD);
            AddCategoryMapping("DVDRip", TorznabCatType.MoviesSD);
            AddCategoryMapping("FLAC", TorznabCatType.AudioLossless);
            AddCategoryMapping("MP3", TorznabCatType.AudioMP3);
            AddCategoryMapping("MP4", TorznabCatType.AudioOther);
            AddCategoryMapping("Packs", TorznabCatType.Movies);
            AddCategoryMapping("R5", TorznabCatType.MoviesDVD);
            AddCategoryMapping("Remux", TorznabCatType.Movies);
            AddCategoryMapping("TVRip", TorznabCatType.MoviesOther);
            AddCategoryMapping("WebRip", TorznabCatType.MoviesWEBDL);
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:33,代码来源:PirateTheNet.cs

示例4: FunFile

        public FunFile(IIndexerManagerService i, Logger l, IWebClient w, IProtectionService ps)
            : base(name: "FunFile",
                description: "A general tracker",
                link: "https://www.funfile.org/",
                caps: new TorznabCapabilities(),
                manager: i,
                client: w,
                logger: l,
                p: ps,
                configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "en-us";

            AddCategoryMapping(44, TorznabCatType.TVAnime); // Anime
            AddCategoryMapping(22, TorznabCatType.PC); // Applications
            AddCategoryMapping(43, TorznabCatType.AudioAudiobook); // Audio Books
            AddCategoryMapping(27, TorznabCatType.Books); // Ebook
            AddCategoryMapping(4,  TorznabCatType.PCGames); // Games
            AddCategoryMapping(40, TorznabCatType.OtherMisc); // Miscellaneous
            AddCategoryMapping(19, TorznabCatType.Movies); // Movies
            AddCategoryMapping(6,  TorznabCatType.Audio); // Music
            AddCategoryMapping(31, TorznabCatType.PCPhoneOther); // Portable
            AddCategoryMapping(7,  TorznabCatType.TV); // TV
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:25,代码来源:FunFile.cs

示例5: TorznabController

 public TorznabController(IIndexerManagerService i, Logger l, IServerService s, ICacheService c)
 {
     indexerService = i;
     logger = l;
     serverService = s;
     cacheService = c;
 }
开发者ID:iheijoushin,项目名称:Jackett,代码行数:7,代码来源:TorznabController.cs

示例6: BitHdtv

        public BitHdtv(IIndexerManagerService i, Logger l, IWebClient w, IProtectionService ps)
            : base(name: "BIT-HDTV",
                description: "Home of high definition invites",
                link: "https://www.bit-hdtv.com/",
                caps: new TorznabCapabilities(),
                manager: i,
                client: w,
                logger: l,
                p: ps,
                configData: new ConfigurationDataBasicLogin())
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "en-us";

            AddCategoryMapping(1, TorznabCatType.TVAnime); // Anime
            AddCategoryMapping(2, TorznabCatType.MoviesBluRay); // Blu-ray
            AddCategoryMapping(4, TorznabCatType.TVDocumentary); // Documentaries
            AddCategoryMapping(6, TorznabCatType.AudioLossless); // HQ Audio
            AddCategoryMapping(7, TorznabCatType.Movies); // Movies
            AddCategoryMapping(8, TorznabCatType.AudioVideo); // Music Videos
            AddCategoryMapping(5, TorznabCatType.TVSport); // Sports
            AddCategoryMapping(10, TorznabCatType.TV); // TV
            AddCategoryMapping(12, TorznabCatType.TV); // TV/Seasonpack
            AddCategoryMapping(11, TorznabCatType.XXX); // XXX
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:25,代码来源:BitHdtv.cs

示例7: BaseIndexer

 // minimal constructor used by e.g. cardigann generic indexer
 public BaseIndexer(IIndexerManagerService manager, IWebClient client, Logger logger, IProtectionService p)
 {
     this.logger = logger;
     indexerService = manager;
     webclient = client;
     protectionService = p;
 }
开发者ID:Jackett,项目名称:Jackett,代码行数:8,代码来源:BaseIndexer.cs

示例8: Hounddawgs

		public Hounddawgs(IIndexerManagerService i, Logger l, IWebClient c, IProtectionService ps)
			: base(name: "Hounddawgs",
				description: "A danish closed torrent tracker",
				link: "https://hounddawgs.org/",
				caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
				manager: i,
				client: c,
				logger: l,
				p: ps,
				configData: new NxtGnConfigurationData())
		{
			AddCategoryMapping(92, TorznabCatType.TV);
			AddCategoryMapping(92, TorznabCatType.TVHD);
			AddCategoryMapping(92, TorznabCatType.TVWEBDL);

			AddCategoryMapping(93, TorznabCatType.TVSD);
			AddCategoryMapping(93, TorznabCatType.TV);

			AddCategoryMapping(57, TorznabCatType.TV);
			AddCategoryMapping(57, TorznabCatType.TVHD);
			AddCategoryMapping(57, TorznabCatType.TVWEBDL);

			AddCategoryMapping(74, TorznabCatType.TVSD);
			AddCategoryMapping(74, TorznabCatType.TV);

		}
开发者ID:CatmanIX,项目名称:Shades,代码行数:26,代码来源:Hounddawgs.cs

示例9: AnimeTorrents

 public AnimeTorrents(IIndexerManagerService i, HttpWebClient c, Logger l, IProtectionService ps)
     : base(name: "AnimeTorrents",
         description: "Definitive source for anime and manga",
         link: "http://animetorrents.me/",
         caps: new TorznabCapabilities(),
         manager: i,
         client: c, // Forced HTTP client for custom headers
         logger: l,
         p: ps,
         configData: new ConfigurationDataBasicLogin())
 {
     AddCategoryMapping(1, TorznabCatType.MoviesSD); // Anime Movie
     AddCategoryMapping(6, TorznabCatType.MoviesHD); // Anime Movie HD
     AddCategoryMapping(2, TorznabCatType.TVAnime); // Anime Series
     AddCategoryMapping(7, TorznabCatType.TVAnime); // Anime Series HD
     AddCategoryMapping(5, TorznabCatType.XXXDVD); // Hentai (censored)
     AddCategoryMapping(9, TorznabCatType.XXXDVD); // Hentai (censored) HD
     AddCategoryMapping(4, TorznabCatType.XXXDVD); // Hentai (un-censored)
     AddCategoryMapping(8, TorznabCatType.XXXDVD); // Hentai (un-censored) HD
     AddCategoryMapping(13, TorznabCatType.BooksForeign); // Light Novel
     AddCategoryMapping(3, TorznabCatType.BooksComics); // Manga
     AddCategoryMapping(10, TorznabCatType.BooksComics); // Manga 18+
     AddCategoryMapping(11, TorznabCatType.TVAnime); // OVA
     AddCategoryMapping(12, TorznabCatType.TVAnime); // OVA HD
     AddCategoryMapping(14, TorznabCatType.BooksComics); // Doujin Anime
     AddCategoryMapping(15, TorznabCatType.XXXDVD); // Doujin Anime 18+
     AddCategoryMapping(16, TorznabCatType.AudioForeign); // Doujin Music
     AddCategoryMapping(17, TorznabCatType.BooksComics); // Doujinshi
     AddCategoryMapping(18, TorznabCatType.BooksComics); // Doujinshi 18+
     AddCategoryMapping(19, TorznabCatType.Audio); // OST
 }
开发者ID:WarlaxZ,项目名称:Jackett,代码行数:31,代码来源:AnimeTorrents.cs

示例10: PassThePopcorn

        public PassThePopcorn(IIndexerManagerService i, Logger l, IWebClient c, IProtectionService ps)
            : base(name: "PassThePopcorn",
                description: "PassThePopcorn",
                link: "https://passthepopcorn.me/",
                caps: new TorznabCapabilities(),
                manager: i,
                client: c,
                logger: l,
                p: ps,
                configData: new ConfigurationDataBasicLoginWithFilterAndPasskey(@"Enter filter options below to restrict search results. 
                                                                        Separate options with a space if using more than one option.<br>Filter options available:
                                                                        <br><code>GoldenPopcorn</code><br><code>Scene</code><br><code>Checked</code>"))
        {
            Encoding = Encoding.UTF8;
            Language = "en-us";

            AddCategoryMapping(1, TorznabCatType.Movies);
            AddCategoryMapping(1, TorznabCatType.MoviesForeign);
            AddCategoryMapping(1, TorznabCatType.MoviesOther);
            AddCategoryMapping(1, TorznabCatType.MoviesSD);
            AddCategoryMapping(1, TorznabCatType.MoviesHD);
            AddCategoryMapping(1, TorznabCatType.Movies3D);
            AddCategoryMapping(1, TorznabCatType.MoviesBluRay);
            AddCategoryMapping(1, TorznabCatType.MoviesDVD);
            AddCategoryMapping(1, TorznabCatType.MoviesWEBDL);
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:26,代码来源:PassThePopcorn.cs

示例11: myAmity

        public myAmity(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "myAmity",
                   description: "A German general tracker.",
                   link: "https://ttv2.myamity.info/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "de-de";

            AddCategoryMapping(20, TorznabCatType.PC); // Apps - PC
            AddCategoryMapping(24, TorznabCatType.AudioAudiobook); // Audio - Hoerbuch/-spiel
            AddCategoryMapping(22, TorznabCatType.Audio); // Audio - Musik
            AddCategoryMapping(52, TorznabCatType.Movies3D); // Filme - 3D
            AddCategoryMapping(51, TorznabCatType.MoviesBluRay); // Filme - BluRay Complete
            AddCategoryMapping(1,  TorznabCatType.MoviesDVD); // Filme - DVD
            AddCategoryMapping(54, TorznabCatType.MoviesHD); // Filme - HD/1080p
            AddCategoryMapping(3,  TorznabCatType.MoviesHD); // Filme - HD/720p
            AddCategoryMapping(48, TorznabCatType.XXX); // Filme - Heimatfilme.XXX
            AddCategoryMapping(50, TorznabCatType.Movies); // Filme - x264/H.264
            AddCategoryMapping(2,  TorznabCatType.MoviesSD); // Filme - XViD
            AddCategoryMapping(11, TorznabCatType.Console); // Games - Konsolen
            AddCategoryMapping(10, TorznabCatType.PCGames); // Games - PC
            AddCategoryMapping(53, TorznabCatType.Other); // International - Complete
            AddCategoryMapping(36, TorznabCatType.Books); // Sonstige - E-Books
            AddCategoryMapping(38, TorznabCatType.Other); // Sonstige - Handy
            AddCategoryMapping(7,  TorznabCatType.TVDocumentary); // TV/HDTV - Dokus
            AddCategoryMapping(8,  TorznabCatType.TV); // TV/HDTV - Serien
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:33,代码来源:myAmity.cs

示例12: AlphaRatio

        public AlphaRatio(IIndexerManagerService i, IWebClient w, Logger l, IProtectionService ps)
            : base(name: "AlphaRatio",
                description: "Legendary",
                link: "https://alpharatio.cc/",
                caps: new TorznabCapabilities(),
                manager: i,
                client: w,
                logger: l,
                p: ps,
                downloadBase: "https://alpharatio.cc/torrents.php?action=download&id=",
                configData: new ConfigurationDataBasicLogin())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "en-us";

            AddCategoryMapping(1, TorznabCatType.TVSD);
            AddCategoryMapping(2, TorznabCatType.TVHD);
            AddCategoryMapping(6, TorznabCatType.MoviesSD);
            AddCategoryMapping(7, TorznabCatType.MoviesHD);
            AddCategoryMapping(10, TorznabCatType.XXX);
            AddCategoryMapping(20, TorznabCatType.XXX);
            AddCategoryMapping(12, TorznabCatType.PCGames);
            AddCategoryMapping(13, TorznabCatType.ConsoleXbox);
            AddCategoryMapping(14, TorznabCatType.ConsolePS3);
            AddCategoryMapping(15, TorznabCatType.ConsoleWii);
            AddCategoryMapping(16, TorznabCatType.PC);
            AddCategoryMapping(17, TorznabCatType.PCMac);
            AddCategoryMapping(19, TorznabCatType.PCPhoneOther);
            AddCategoryMapping(21, TorznabCatType.BooksEbook);
            AddCategoryMapping(22, TorznabCatType.AudioAudiobook);
            AddCategoryMapping(23, TorznabCatType.Audio);
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:32,代码来源:AlphaRatio.cs

示例13: BeyondHD

        public BeyondHD(IIndexerManagerService i, Logger l, IWebClient w, IProtectionService ps)
            : base(name: "BeyondHD",
                description: "Without BeyondHD, your HDTV is just a TV",
                link: "https://beyondhd.me/",
                caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                manager: i,
                client: w,
                logger: l,
                p: ps,
                configData: new ConfigurationDataCookie())
        {
            AddCategoryMapping("40,44,48,89,46,45", TorznabCatType.TV);
            AddCategoryMapping("40", TorznabCatType.TVHD);
            AddCategoryMapping("44", TorznabCatType.TVHD);
            AddCategoryMapping("48", TorznabCatType.TVHD);
            AddCategoryMapping("46", TorznabCatType.TVHD);
            AddCategoryMapping("45", TorznabCatType.TVHD);
            AddCategoryMapping("44", TorznabCatType.TVSD);
            AddCategoryMapping("46", TorznabCatType.TVSD);
            AddCategoryMapping("45", TorznabCatType.TVSD);

            AddCategoryMapping("41,77,71,94,78,37,54,17", TorznabCatType.Movies);
            AddCategoryMapping("77", TorznabCatType.MoviesHD);
            AddCategoryMapping("71", TorznabCatType.Movies3D);
            AddCategoryMapping("78", TorznabCatType.MoviesHD);
            AddCategoryMapping("37", TorznabCatType.MoviesBluRay);
            AddCategoryMapping("54", TorznabCatType.MoviesHD);

            AddCategoryMapping("55,56,42,36,69", TorznabCatType.Audio);
            AddCategoryMapping("36", TorznabCatType.AudioLossless);
            AddCategoryMapping("69", TorznabCatType.AudioMP3);
        }
开发者ID:Drefsab,项目名称:Jackett,代码行数:32,代码来源:BeyondHD.cs

示例14: GFTracker

        public GFTracker(IIndexerManagerService i, Logger l, IWebClient w, IProtectionService ps)
            : base(name: "GFTracker",
                description: "Home of user happiness",
                link: "https://www.thegft.org/",
                caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                manager: i,
                client: w,
                logger: l,
                p: ps,
                configData: new ConfigurationDataRecaptchaLogin())
        {
            Encoding = Encoding.UTF8;
            Language = "en-us";

            AddCategoryMapping(4, TorznabCatType.TV);               // TV/XVID
            AddCategoryMapping(17, TorznabCatType.TVHD);            // TV/X264
            AddCategoryMapping(19, TorznabCatType.TV);              // TV/DVDRIP
            AddCategoryMapping(26, TorznabCatType.TVHD);            // TV/BLURAY
            AddCategoryMapping(37, TorznabCatType.TV);              // TV/DVDR
            AddCategoryMapping(47, TorznabCatType.TV);              // TV/SD

            AddCategoryMapping(7, TorznabCatType.Movies);           // Movies/XVID
            AddCategoryMapping(8, TorznabCatType.MoviesDVD);        // Movies/DVDR
            AddCategoryMapping(12, TorznabCatType.MoviesBluRay);    // Movies/BLURAY
            AddCategoryMapping(18, TorznabCatType.MoviesHD);        // Movies/X264-HD
            AddCategoryMapping(49, TorznabCatType.MoviesSD);        // Movies/X264-SD
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:27,代码来源:GFTracker.cs

示例15: BB

        public BB(IIndexerManagerService i, Logger l, IWebClient w, IProtectionService ps)
            : base(name: "bB",
                description: "bB",
                link: "http://www.reddit.com/r/baconbits/",
                caps: new TorznabCapabilities(),
                manager: i,
                client: w,
                logger: l,
                p: ps,
                configData: new ConfigurationDataBasicLogin())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "en-us";

            AddCategoryMapping(1, TorznabCatType.Audio);
            AddCategoryMapping(2, TorznabCatType.PC);
            AddCategoryMapping(3, TorznabCatType.BooksEbook);
            AddCategoryMapping(4, TorznabCatType.AudioAudiobook);
            AddCategoryMapping(7, TorznabCatType.BooksComics);
            AddCategoryMapping(8, TorznabCatType.TVAnime);
            AddCategoryMapping(9, TorznabCatType.Movies);
            AddCategoryMapping(10, TorznabCatType.TVHD);
            AddCategoryMapping(10, TorznabCatType.TVSD);
            AddCategoryMapping(10, TorznabCatType.TV);
            AddCategoryMapping(11, TorznabCatType.PCGames);
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:26,代码来源:BB.cs


注:本文中的IIndexerManagerService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。