• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IIndexerManagerService类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: ImmortalSeed

        public ImmortalSeed(IIndexerManagerService i, IWebClient wc, Logger l)
            : base(name: "ImmortalSeed",
                description: "ImmortalSeed",
                link: "http://immortalseed.me/",
                caps: TorznabCapsUtil.CreateDefaultTorznabTVCaps(),
                manager: i,
                client: wc,
                logger: l)
        {
            AddCategoryMapping(32, TorznabCatType.Anime);
            AddCategoryMapping(47, TorznabCatType.TVSD);
            AddCategoryMapping(8, TorznabCatType.TVHD);
            AddCategoryMapping(48, TorznabCatType.TVHD);
            AddCategoryMapping(9, TorznabCatType.TVSD);
            AddCategoryMapping(4, TorznabCatType.TVHD);
            AddCategoryMapping(6, TorznabCatType.TVSD);

            AddCategoryMapping(22, TorznabCatType.Books);
            AddCategoryMapping(41, TorznabCatType.Comic);
            AddCategoryMapping(23, TorznabCatType.Apps);

            AddCategoryMapping(16, TorznabCatType.MoviesHD);
            AddCategoryMapping(17, TorznabCatType.MoviesSD);
            AddCategoryMapping(14, TorznabCatType.MoviesSD);
            AddCategoryMapping(34, TorznabCatType.MoviesForeign);
            AddCategoryMapping(18, TorznabCatType.MoviesForeign);
            AddCategoryMapping(33, TorznabCatType.MoviesForeign);

            AddCategoryMapping(34, TorznabCatType.Audio);
            AddCategoryMapping(37, TorznabCatType.AudioLossless);
            AddCategoryMapping(35, TorznabCatType.AudioBooks);
            AddCategoryMapping(36, TorznabCatType.AudioLossy);

        }
开发者ID:lin0sspice,项目名称:Jackett,代码行数:34,代码来源:ImmortalSeed.cs


示例17: Hebits

        public Hebits(IIndexerManagerService i, Logger l, IWebClient wc, IProtectionService ps)
            : base(name: "Hebits",
                description: "The Israeli Tracker",
                link: "https://hebits.net/",
                caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                manager: i,
                client: wc,
                logger: l,
                p: ps,
                downloadBase: "https://hebits.net/",
                configData: new ConfigurationDataBasicLogin())
        {
            Encoding = Encoding.GetEncoding("windows-1255");
            Language = "he-il";

            AddCategoryMapping(19, TorznabCatType.MoviesSD);
            AddCategoryMapping(25, TorznabCatType.MoviesOther); // Israeli Content
            AddCategoryMapping(20, TorznabCatType.MoviesDVD);
            AddCategoryMapping(36, TorznabCatType.MoviesBluRay);
            AddCategoryMapping(27, TorznabCatType.MoviesHD);

            AddCategoryMapping(7, TorznabCatType.TVSD); // Israeli SDTV
            AddCategoryMapping(24, TorznabCatType.TVSD); // English SDTV
            AddCategoryMapping(1, TorznabCatType.TVHD); // Israel HDTV
            AddCategoryMapping(37, TorznabCatType.TVHD); // Israel HDTV
        }
开发者ID:Jackett,项目名称:Jackett,代码行数:26,代码来源:Hebits.cs


示例18: FileList

 public FileList(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
     : base(name: "FileList",
         description: "The best Romanian site.",
         link: "http://filelist.ro/",
         caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
         manager: i,
         client: wc,
         logger: l,
         p: ps,
         configData: new ConfigurationDataFileList())
 {
     AddCategoryMapping(24, TorznabCatType.TVAnime);
     AddCategoryMapping(11, TorznabCatType.Audio);
     AddCategoryMapping(15, TorznabCatType.TV);
     //AddCategoryMapping(18, TorznabCatType.); Other
     AddCategoryMapping(16, TorznabCatType.TVDocumentary);
     AddCategoryMapping(25, TorznabCatType.Movies3D);
     AddCategoryMapping(20, TorznabCatType.MoviesBluRay);
     AddCategoryMapping(2, TorznabCatType.MoviesSD);
     AddCategoryMapping(3, TorznabCatType.MoviesForeign); //RO
     AddCategoryMapping(4, TorznabCatType.MoviesHD);
     AddCategoryMapping(19, TorznabCatType.MoviesForeign); // RO
     AddCategoryMapping(1, TorznabCatType.MoviesSD);
     AddCategoryMapping(10, TorznabCatType.Console);
     AddCategoryMapping(9, TorznabCatType.PCGames);
     //AddCategoryMapping(17, TorznabCatType); Linux No cat
     AddCategoryMapping(22, TorznabCatType.PCPhoneOther); //Apps/mobile
     AddCategoryMapping(8, TorznabCatType.PC);
     AddCategoryMapping(21, TorznabCatType.TVHD);
     AddCategoryMapping(23, TorznabCatType.TVSD);
     AddCategoryMapping(13, TorznabCatType.TVSport);
     AddCategoryMapping(14, TorznabCatType.TV);
     AddCategoryMapping(12, TorznabCatType.AudioVideo);
     AddCategoryMapping(7, TorznabCatType.XXX);
 }
开发者ID:mraniki,项目名称:Jackett,代码行数:35,代码来源:FileList.cs


示例19: HDTorrents

        public HDTorrents(IIndexerManagerService i, Logger l, IWebClient w, IProtectionService ps)
            : base(name: "HD-Torrents",
                description: "HD-Torrents is a private torrent website with HD torrents and strict rules on their content.",
                link: "http://hdts.ru/",// Of the accessible domains the .ru seems the most reliable.  https://hdts.ru | https://hd-torrents.org | https://hd-torrents.net | https://hd-torrents.me
                manager: i,
                client: w,
                logger: l,
                p: ps,
                configData: new ConfigurationDataBasicLogin())
        {
            TorznabCaps.Categories.Clear();

            AddCategoryMapping("1", TorznabCatType.MoviesHD);// Movie/Blu-Ray
            AddCategoryMapping("2", TorznabCatType.MoviesHD);// Movie/Remux
            AddCategoryMapping("5", TorznabCatType.MoviesHD);//Movie/1080p/i
            AddCategoryMapping("3", TorznabCatType.MoviesHD);//Movie/720p
            AddCategoryMapping("63", TorznabCatType.Audio);//Movie/Audio Track

            AddCategoryMapping("59", TorznabCatType.TVHD);//TV Show/Blu-ray
            AddCategoryMapping("60", TorznabCatType.TVHD);//TV Show/Remux
            AddCategoryMapping("30", TorznabCatType.TVHD);//TV Show/1080p/i
            AddCategoryMapping("38", TorznabCatType.TVHD);//TV Show/720p

            AddCategoryMapping("44", TorznabCatType.Audio);//Music/Album
            AddCategoryMapping("61", TorznabCatType.AudioVideo);//Music/Blu-Ray
            AddCategoryMapping("62", TorznabCatType.AudioVideo);//Music/Remux
            AddCategoryMapping("57", TorznabCatType.AudioVideo);//Music/1080p/i
            AddCategoryMapping("45", TorznabCatType.AudioVideo);//Music/720p

            AddCategoryMapping("58", TorznabCatType.XXX);//XXX/Blu-ray
            AddCategoryMapping("48", TorznabCatType.XXX);//XXX/1080p/i
            AddCategoryMapping("47", TorznabCatType.XXX);//XXX/720p
        }
开发者ID:CatmanIX,项目名称:Shades,代码行数:33,代码来源:HDTorrents.cs


示例20: SceneAccess

        public SceneAccess(IIndexerManagerService i, IWebClient c, Logger l, IProtectionService ps)
            : base(name: "SceneAccess",
                description: "Your gateway to the scene",
                link: "https://sceneaccess.eu/",
                caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                manager: i,
                client: c,
                logger: l,
                p: ps,
                configData: new ConfigurationDataBasicLogin())
        {

            AddCategoryMapping(8, TorznabCatType.MoviesSD);
            AddCategoryMapping(22, TorznabCatType.MoviesHD);
            AddCategoryMapping(7, TorznabCatType.MoviesSD);
            AddCategoryMapping(4, TorznabCatType.Movies);

            AddCategoryMapping(27, TorznabCatType.TVHD);
            AddCategoryMapping(17, TorznabCatType.TVSD);
            AddCategoryMapping(11, TorznabCatType.MoviesSD);
            AddCategoryMapping(26, TorznabCatType.TV);

            AddCategoryMapping(3, TorznabCatType.PCGames);
            AddCategoryMapping(5, TorznabCatType.ConsolePS3);
            AddCategoryMapping(20, TorznabCatType.ConsolePSP);
            AddCategoryMapping(28, TorznabCatType.TV);
            AddCategoryMapping(23, TorznabCatType.Console);
            AddCategoryMapping(29, TorznabCatType.Console);

            AddCategoryMapping(40, TorznabCatType.AudioLossless);
            AddCategoryMapping(13, TorznabCatType.AudioMP3);
            AddCategoryMapping(15, TorznabCatType.AudioVideo);

            AddCategoryMapping(1, TorznabCatType.PCISO);
            AddCategoryMapping(2, TorznabCatType.PCISO);
            AddCategoryMapping(14, TorznabCatType.PCISO);
            AddCategoryMapping(21, TorznabCatType.Other);

            AddCategoryMapping(41, TorznabCatType.MoviesHD);
            AddCategoryMapping(42, TorznabCatType.MoviesSD);
            AddCategoryMapping(43, TorznabCatType.MoviesSD);
            AddCategoryMapping(44, TorznabCatType.TVHD);
            AddCategoryMapping(45, TorznabCatType.TVSD);

            AddCategoryMapping(12, TorznabCatType.XXXXviD);
            AddCategoryMapping(35, TorznabCatType.XXXx264);
            AddCategoryMapping(36, TorznabCatType.XXX);

            AddCategoryMapping(30, TorznabCatType.MoviesForeign);
            AddCategoryMapping(31, TorznabCatType.MoviesForeign);
            AddCategoryMapping(32, TorznabCatType.MoviesForeign);
            AddCategoryMapping(33, TorznabCatType.TVFOREIGN);
            AddCategoryMapping(34, TorznabCatType.TVFOREIGN);

            AddCategoryMapping(4, TorznabCatType.Movies);
            AddCategoryMapping(37, TorznabCatType.XXX);
            AddCategoryMapping(38, TorznabCatType.Audio);

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IIndexingService类代码示例发布时间:2022-05-24
下一篇:
C# IIndex类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap