Ejemplo n.º 1
0
        public T411(IIndexerManagerService i, Logger l, IWebClient wc, IProtectionService ps)
            : base(name: "T411",
                   description: "French Torrent Tracker",
                   link: "https://t411.li/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataLoginTokin())
        {
            Encoding = Encoding.UTF8;
            Type     = "semi-private";
            Language = "fr-fr";

            // 210, FilmVidéo
            AddCategoryMapping(402, TorznabCatType.Movies, "Vidéoclips");
            AddCategoryMapping(433, TorznabCatType.TV, "Série TV");
            AddCategoryMapping(455, TorznabCatType.TVAnime, "Animation");
            AddCategoryMapping(631, TorznabCatType.Movies, "Film");
            AddCategoryMapping(633, TorznabCatType.Movies, "Concert");
            AddCategoryMapping(634, TorznabCatType.TVDocumentary, "Documentaire");
            AddCategoryMapping(635, TorznabCatType.TV, "Spectacle");
            AddCategoryMapping(636, TorznabCatType.TVSport, "Sport");
            AddCategoryMapping(637, TorznabCatType.TVAnime, "Animation Série");
            AddCategoryMapping(639, TorznabCatType.TV, "Emission TV");

            // 233, Application
            AddCategoryMapping(234, TorznabCatType.PC0day, "Linux");
            AddCategoryMapping(235, TorznabCatType.PCMac, "MacOS");
            AddCategoryMapping(236, TorznabCatType.PC0day, "Windows");
            AddCategoryMapping(625, TorznabCatType.PCPhoneOther, "Smartphone");
            AddCategoryMapping(627, TorznabCatType.PCPhoneOther, "Tablette");
            AddCategoryMapping(629, TorznabCatType.PC, "Autre");
            AddCategoryMapping(638, TorznabCatType.PC, "Formation");

            // 340, Emulation
            AddCategoryMapping(342, TorznabCatType.ConsoleOther, "Emulateurs");
            AddCategoryMapping(344, TorznabCatType.ConsoleOther, "Roms");

            // undefined
            AddCategoryMapping(389, TorznabCatType.ConsoleOther, "Jeux vidéo");

            // 392, GPS
            AddCategoryMapping(391, TorznabCatType.PC0day, "Applications");
            AddCategoryMapping(393, TorznabCatType.PC0day, "Cartes");
            AddCategoryMapping(394, TorznabCatType.PC0day, "Divers");

            // 395, Audio
            AddCategoryMapping(400, TorznabCatType.Audio, "Karaoke");
            AddCategoryMapping(403, TorznabCatType.Audio, "Samples");
            AddCategoryMapping(623, TorznabCatType.Audio, "Musique");
            AddCategoryMapping(642, TorznabCatType.Audio, "Podcast Radio");

            // 404, eBook
            AddCategoryMapping(405, TorznabCatType.Books, "Audio");
            AddCategoryMapping(406, TorznabCatType.Books, "Bds");
            AddCategoryMapping(407, TorznabCatType.Books, "Comics");
            AddCategoryMapping(408, TorznabCatType.Books, "Livres");
            AddCategoryMapping(409, TorznabCatType.Books, "Mangas");
            AddCategoryMapping(410, TorznabCatType.Books, "Presse");

            // 456, xXx
            AddCategoryMapping(461, TorznabCatType.XXX, "eBooks");
            AddCategoryMapping(462, TorznabCatType.XXX, "Jeux vidéo");
            AddCategoryMapping(632, TorznabCatType.XXX, "Video");
            AddCategoryMapping(641, TorznabCatType.XXX, "Animation");

            // 624, Jeu vidéo
            AddCategoryMapping(239, TorznabCatType.PCGames, "Linux");
            AddCategoryMapping(245, TorznabCatType.PCMac, "MacOS");
            AddCategoryMapping(246, TorznabCatType.PCGames, "Windows");
            AddCategoryMapping(307, TorznabCatType.ConsoleNDS, "Nintendo");
            AddCategoryMapping(308, TorznabCatType.ConsolePS4, "Sony");
            AddCategoryMapping(309, TorznabCatType.ConsoleXbox, "Microsoft");
            AddCategoryMapping(626, TorznabCatType.PCPhoneOther, "Smartphone");
            AddCategoryMapping(628, TorznabCatType.PCPhoneOther, "Tablette");
            AddCategoryMapping(630, TorznabCatType.ConsoleOther, "Autre");
        }
Ejemplo n.º 2
0
        public TorrentDay(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
            : base(name: "TorrentDay",
                   description: "TorrentDay (TD) is a Private site for TV / MOVIES / GENERAL",
                   link: "https://tday.love/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataRecaptchaLogin("Make sure you get the cookies from the same torrent day domain as configured above."))
        {
            wc.EmulateBrowser = false;
            Encoding          = Encoding.UTF8;
            Language          = "en-us";
            Type = "private";

            TorznabCaps.SupportsImdbMovieSearch = true;

            AddCategoryMapping(29, TorznabCatType.TVAnime, "Anime");
            AddCategoryMapping(28, TorznabCatType.PC, "Appz/Packs");
            AddCategoryMapping(42, TorznabCatType.AudioAudiobook, "Audio Books");
            AddCategoryMapping(20, TorznabCatType.Books, "Books");
            AddCategoryMapping(30, TorznabCatType.TVDocumentary, "Documentary");
            AddCategoryMapping(47, TorznabCatType.Other, "Fonts");
            AddCategoryMapping(43, TorznabCatType.PCMac, "Mac");

            AddCategoryMapping(96, TorznabCatType.MoviesUHD, "Movie/4K");
            AddCategoryMapping(25, TorznabCatType.MoviesSD, "Movies/480p");
            AddCategoryMapping(11, TorznabCatType.MoviesBluRay, "Movies/Bluray");
            AddCategoryMapping(5, TorznabCatType.MoviesBluRay, "Movies/Bluray-Full");
            AddCategoryMapping(3, TorznabCatType.MoviesDVD, "Movies/DVD-R");
            AddCategoryMapping(21, TorznabCatType.MoviesSD, "Movies/MP4");
            AddCategoryMapping(22, TorznabCatType.MoviesForeign, "Movies/Non-English");
            AddCategoryMapping(13, TorznabCatType.Movies, "Movies/Packs");
            AddCategoryMapping(44, TorznabCatType.MoviesSD, "Movies/SD/x264");
            AddCategoryMapping(48, TorznabCatType.Movies, "Movies/x265");
            AddCategoryMapping(1, TorznabCatType.MoviesSD, "Movies/XviD");

            AddCategoryMapping(17, TorznabCatType.AudioMP3, "Music/Audio");
            AddCategoryMapping(23, TorznabCatType.AudioForeign, "Music/Non-English");
            AddCategoryMapping(41, TorznabCatType.Audio, "Music/Packs");
            AddCategoryMapping(16, TorznabCatType.AudioVideo, "Music/Video");
            AddCategoryMapping(27, TorznabCatType.Audio, "Music/Flac");

            AddCategoryMapping(45, TorznabCatType.AudioOther, "Podcast");

            AddCategoryMapping(4, TorznabCatType.PCGames, "PC/Games");
            AddCategoryMapping(18, TorznabCatType.ConsolePS3, "PS3");
            AddCategoryMapping(8, TorznabCatType.ConsolePSP, "PSP");
            AddCategoryMapping(10, TorznabCatType.ConsoleWii, "Wii");
            AddCategoryMapping(9, TorznabCatType.ConsoleXbox360, "Xbox-360");

            AddCategoryMapping(24, TorznabCatType.TVSD, "TV/480p");
            AddCategoryMapping(32, TorznabCatType.TVHD, "TV/Bluray");
            AddCategoryMapping(31, TorznabCatType.TVSD, "TV/DVD-R");
            AddCategoryMapping(33, TorznabCatType.TVSD, "TV/DVD-Rip");
            AddCategoryMapping(46, TorznabCatType.TVSD, "TV/Mobile");
            AddCategoryMapping(14, TorznabCatType.TV, "TV/Packs");
            AddCategoryMapping(26, TorznabCatType.TVSD, "TV/SD/x264");
            AddCategoryMapping(7, TorznabCatType.TVHD, "TV/x264");
            AddCategoryMapping(34, TorznabCatType.TVUHD, "TV/x265");
            AddCategoryMapping(2, TorznabCatType.TVSD, "TV/XviD");

            AddCategoryMapping(6, TorznabCatType.XXX, "XXX/Movies");
            AddCategoryMapping(15, TorznabCatType.XXXPacks, "XXX/Packs");
        }
Ejemplo n.º 3
0
        public NewRealWorld(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
            : base(name: "New Real World",
                   description: "A German general tracker.",
                   link: "https://nrw-tracker.eu/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "de-de";
            Type     = "private";

            AddCategoryMapping(39, TorznabCatType.TVAnime);        // Anime: HD|1080p
            AddCategoryMapping(38, TorznabCatType.TVAnime);        // Anime: HD|720p
            AddCategoryMapping(1, TorznabCatType.TVAnime);         // Anime: SD
            AddCategoryMapping(7, TorznabCatType.PCPhoneOther);    // Appz: Handy-PDA
            AddCategoryMapping(36, TorznabCatType.PCMac);          // Appz: Mac
            AddCategoryMapping(18, TorznabCatType.PC);             // Appz: Sonstiges
            AddCategoryMapping(17, TorznabCatType.PC);             // Appz: Win
            AddCategoryMapping(15, TorznabCatType.Audio);          // Audio: DVD-R
            AddCategoryMapping(49, TorznabCatType.AudioLossless);  // Audio: Flac
            AddCategoryMapping(30, TorznabCatType.AudioAudiobook); // Audio: Hörspiele
            AddCategoryMapping(14, TorznabCatType.AudioMP3);       // Audio: MP3
            AddCategoryMapping(22, TorznabCatType.AudioVideo);     // Audio: Videoclip
            AddCategoryMapping(19, TorznabCatType.Other);          // Diverses: Sonstiges
            AddCategoryMapping(43, TorznabCatType.TVDocumentary);  // Dokus: HD
            AddCategoryMapping(2, TorznabCatType.TVDocumentary);   // Dokus: SD
            AddCategoryMapping(3, TorznabCatType.Books);           // Ebooks: Bücher
            AddCategoryMapping(52, TorznabCatType.BooksComics);    // Ebooks: Comics
            AddCategoryMapping(53, TorznabCatType.BooksMagazines); // Ebooks: Magazine
            AddCategoryMapping(55, TorznabCatType.BooksOther);     // Ebooks: XXX
            AddCategoryMapping(54, TorznabCatType.BooksOther);     // Ebooks: Zeitungen
            AddCategoryMapping(47, TorznabCatType.PCPhoneOther);   // Games: Andere
            AddCategoryMapping(32, TorznabCatType.PCMac);          // Games: Mac
            AddCategoryMapping(41, TorznabCatType.ConsoleNDS);     // Games: NDS/3DS
            AddCategoryMapping(4, TorznabCatType.PCGames);         // Games: PC
            AddCategoryMapping(5, TorznabCatType.ConsolePS3);      // Games: PS2
            AddCategoryMapping(9, TorznabCatType.ConsolePS3);      // Games: PS3
            AddCategoryMapping(6, TorznabCatType.ConsolePSP);      // Games: PSP
            AddCategoryMapping(28, TorznabCatType.ConsoleWii);     // Games: Wii
            AddCategoryMapping(31, TorznabCatType.ConsoleXbox);    // Games: XboX
            AddCategoryMapping(51, TorznabCatType.Movies3D);       // Movies: 3D
            AddCategoryMapping(37, TorznabCatType.MoviesBluRay);   // Movies: BluRay
            AddCategoryMapping(25, TorznabCatType.MoviesHD);       // Movies: HD|1080p
            AddCategoryMapping(29, TorznabCatType.MoviesHD);       // Movies: HD|720p
            AddCategoryMapping(11, TorznabCatType.MoviesDVD);      // Movies: SD|DVD-R
            AddCategoryMapping(8, TorznabCatType.MoviesSD);        // Movies: SD|x264
            AddCategoryMapping(13, TorznabCatType.MoviesSD);       // Movies: SD|XviD
            AddCategoryMapping(40, TorznabCatType.MoviesForeign);  // Movies: US Movies
            AddCategoryMapping(33, TorznabCatType.TV);             // Serien: DVD-R
            AddCategoryMapping(34, TorznabCatType.TVHD);           // Serien: HD
            AddCategoryMapping(56, TorznabCatType.TVHD);           // Serien: Packs|HD
            AddCategoryMapping(44, TorznabCatType.TVSD);           // Serien: Packs|SD
            AddCategoryMapping(16, TorznabCatType.TVSD);           // Serien: SD
            AddCategoryMapping(10, TorznabCatType.TVOTHER);        // Serien: TV/Shows
            AddCategoryMapping(21, TorznabCatType.TVFOREIGN);      // Serien: US TV
            AddCategoryMapping(24, TorznabCatType.TVSport);        // Sport: Diverses
            AddCategoryMapping(23, TorznabCatType.TVSport);        // Sport: Wrestling
            AddCategoryMapping(57, TorznabCatType.Movies);         // Tracker - Crew: pmHD
            AddCategoryMapping(58, TorznabCatType.MoviesHD);       // Ultra-HD: 4K
            AddCategoryMapping(46, TorznabCatType.XXXOther);       // XXX: Diverses
            AddCategoryMapping(50, TorznabCatType.XXX);            // XXX: HD
            AddCategoryMapping(45, TorznabCatType.XXXPacks);       // XXX: Packs
            AddCategoryMapping(27, TorznabCatType.XXX);            // XXX: SD
        }
Ejemplo n.º 4
0
        public RareShare(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "RareShare.me",
                   description: "Rare Share",
                   link: "http://rareshare.me",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLoginWithRSS())
        {
            AddCategoryMapping(99, TorznabCatType.TV);              // Animation
            AddCategoryMapping(110, TorznabCatType.AudioAudiobook); // Audiobook

            AddCategoryMapping(7, TorznabCatType.TV);               // Comedy
            AddCategoryMapping(43, TorznabCatType.TV);              // Comedy-Drama

            AddCategoryMapping(11, TorznabCatType.TVDocumentary);   // Documentaries
            AddCategoryMapping(12, TorznabCatType.TV);              // Drama

            AddCategoryMapping(16, TorznabCatType.TV);              // Entertainment

            AddCategoryMapping(100, TorznabCatType.TV);             // Food and Cooking
            AddCategoryMapping(121, TorznabCatType.PC);             // Freeware

            AddCategoryMapping(23, TorznabCatType.TV);              // Game Shows

            AddCategoryMapping(111, TorznabCatType.TV);             // Home & Property

            AddCategoryMapping(49, TorznabCatType.TV);              // Kids

            AddCategoryMapping(26, TorznabCatType.TV);              // Motoring
            AddCategoryMapping(123, TorznabCatType.Movies);         // Movies
            AddCategoryMapping(50, TorznabCatType.Audio);           // Music
            AddCategoryMapping(19, TorznabCatType.TV);              // Mystery & Crime Fiction

            AddCategoryMapping(114, TorznabCatType.TV);             // News and Current Affairs

            AddCategoryMapping(8, TorznabCatType.Other);            // Other

            AddCategoryMapping(104, TorznabCatType.Audio);          // Radio
            AddCategoryMapping(105, TorznabCatType.Audio);          // Radio/Comedy
            AddCategoryMapping(106, TorznabCatType.Audio);          // Radio/Drama
            AddCategoryMapping(107, TorznabCatType.Audio);          // Radio/Factual
            AddCategoryMapping(108, TorznabCatType.Audio);          // Radio/Music
            AddCategoryMapping(122, TorznabCatType.Audio);          // Radio/Readings
            AddCategoryMapping(109, TorznabCatType.Audio);          // Radio/Sport
            AddCategoryMapping(114, TorznabCatType.TV);             // Reality

            AddCategoryMapping(20, TorznabCatType.TV);              // Sci-Fi
            AddCategoryMapping(20, TorznabCatType.TV);              // Soaps
            AddCategoryMapping(124, TorznabCatType.TV);             // Soaps/Monthly Archives
            AddCategoryMapping(22, TorznabCatType.TVSport);         // Sport
            AddCategoryMapping(65, TorznabCatType.TVSport);         // Sport/Formula 1

            AddCategoryMapping(18, TorznabCatType.TV);              // Talkshow
            AddCategoryMapping(21, TorznabCatType.TV);              // Trains & Planes
            AddCategoryMapping(69, TorznabCatType.TVDocumentary);   // True Crime

            AddCategoryMapping(101, TorznabCatType.TVDocumentary);  // Wildlife

            // RSS categories, mapped by name
            AddCategoryMapping("Animation", TorznabCatType.TV);
            AddCategoryMapping("Audiobook", TorznabCatType.AudioAudiobook);

            AddCategoryMapping("Comedy", TorznabCatType.TV);
            AddCategoryMapping("Comedy-Drama", TorznabCatType.TV);

            AddCategoryMapping("Documentries", TorznabCatType.TVDocumentary);
            AddCategoryMapping("Drama", TorznabCatType.TV);

            AddCategoryMapping("Entertainment", TorznabCatType.TV);

            AddCategoryMapping("Food and Cooking", TorznabCatType.TV);
            AddCategoryMapping("Freeware", TorznabCatType.PC);

            AddCategoryMapping("Game Shows", TorznabCatType.TV);

            AddCategoryMapping("Home & Property", TorznabCatType.TV);

            AddCategoryMapping("Kids", TorznabCatType.TV);

            AddCategoryMapping("Motoring", TorznabCatType.TV);
            AddCategoryMapping("Movies", TorznabCatType.Movies);
            AddCategoryMapping("Music", TorznabCatType.Audio);
            AddCategoryMapping("Mystery & Crime Fiction", TorznabCatType.TV);

            AddCategoryMapping("News and Current Affairs", TorznabCatType.TV);

            AddCategoryMapping("Other", TorznabCatType.Other);

            /*
             * Some of the Radio/* categories are commented out as their names clash with the top-level categories
             * mapped above. If these change later on, or a mechanism for handling them better is implemented, then
             * these can be re-implemented with the necessary changes.
             */
            AddCategoryMapping("Radio", TorznabCatType.Audio);
            // AddCategoryMapping("Comedy", TorznabCatType.Audio); // Radio/Comedy
            // AddCategoryMapping("Drama", TorznabCatType.Audio); // Radio/Drama
            AddCategoryMapping("Factual", TorznabCatType.Audio);  // Radio/Factual
            // AddCategoryMapping("Music", TorznabCatType.Audio); // Radio/Music
            AddCategoryMapping("Readings", TorznabCatType.Audio); // Radio/Readings
            // AddCategoryMapping("Sport", TorznabCatType.Audio); // Radio/Sport
            AddCategoryMapping("Reality", TorznabCatType.TV);

            AddCategoryMapping("Sci-Fi", TorznabCatType.Audio);
            AddCategoryMapping("Soaps", TorznabCatType.Audio);
            AddCategoryMapping("Monthly Archives", TorznabCatType.Audio);
            AddCategoryMapping("Sport", TorznabCatType.TVSport);
            AddCategoryMapping("Formula 1", TorznabCatType.TVSport);

            AddCategoryMapping("Talkshow", TorznabCatType.TV);
            AddCategoryMapping("Trains & Planes", TorznabCatType.TV);
            AddCategoryMapping("True Crime", TorznabCatType.TVDocumentary);

            AddCategoryMapping("Wildlife", TorznabCatType.TVDocumentary);
        }
Ejemplo n.º 5
0
        public TVChaosUK(IIndexerConfigurationService configService, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "TV Chaos",
                   description: "Total Chaos",
                   link: "https://www.tvchaosuk.com/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLoginWithRSS())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "en-uk";
            Type     = "private";

            AddCategoryMapping(72, TorznabCatType.PC, "Appz");

            AddCategoryMapping(115, TorznabCatType.TV, "Classic TV");
            AddCategoryMapping(139, TorznabCatType.TV, "Classic Comedy");
            AddCategoryMapping(141, TorznabCatType.TV, "Classic Comedy Drama");
            AddCategoryMapping(140, TorznabCatType.TV, "Classic Crime Drama");
            AddCategoryMapping(118, TorznabCatType.TV, "Classic Documentary");
            AddCategoryMapping(138, TorznabCatType.TV, "Classic Drama");
            AddCategoryMapping(149, TorznabCatType.TV, "Classic Kids/Family");
            AddCategoryMapping(142, TorznabCatType.TV, "Classic Sci-fi");
            AddCategoryMapping(148, TorznabCatType.TV, "Classic Soap");

            AddCategoryMapping(78, TorznabCatType.TV, "Comedy");
            AddCategoryMapping(187, TorznabCatType.TV, "Comedy Panel/Talk show");
            AddCategoryMapping(172, TorznabCatType.TVHD, "HD Comedy");
            AddCategoryMapping(107, TorznabCatType.TV, "Stand-up Comedy");

            AddCategoryMapping(75, TorznabCatType.TVDocumentary, "Documentary & News");
            AddCategoryMapping(189, TorznabCatType.TVDocumentary, "Docudrama");
            AddCategoryMapping(224, TorznabCatType.TVDocumentary, "Documentary");
            AddCategoryMapping(174, TorznabCatType.TVDocumentary, "HD Documentary");
            AddCategoryMapping(113, TorznabCatType.TVDocumentary, "Historical");
            AddCategoryMapping(218, TorznabCatType.TVDocumentary, "News and Current Affairs");
            AddCategoryMapping(100, TorznabCatType.TVDocumentary, "True Crime");
            AddCategoryMapping(98, TorznabCatType.TVDocumentary, "Wildlife/Nature");

            AddCategoryMapping(74, TorznabCatType.TV, "Drama");
            AddCategoryMapping(180, TorznabCatType.TV, "Comedy-Drama");
            AddCategoryMapping(76, TorznabCatType.TV, "Crime Drama");
            AddCategoryMapping(99, TorznabCatType.TV, "Cult Drama");
            AddCategoryMapping(175, TorznabCatType.TVHD, "HD Drama");

            AddCategoryMapping(91, TorznabCatType.TV, "Entertainment");
            AddCategoryMapping(212, TorznabCatType.TV, "Chat Shows");
            AddCategoryMapping(223, TorznabCatType.TVHD, "HD Entertainment");
            AddCategoryMapping(188, TorznabCatType.TV, "Musical TV");
            AddCategoryMapping(217, TorznabCatType.TV, "Quiz, Panel & Game Shows");
            AddCategoryMapping(101, TorznabCatType.TV, "Special Interest");

            AddCategoryMapping(106, TorznabCatType.TV, "Factual & Reality");
            AddCategoryMapping(103, TorznabCatType.TV, "Cookery, Food and Drink");
            AddCategoryMapping(114, TorznabCatType.TV, "Factual TV");
            AddCategoryMapping(221, TorznabCatType.TVHD, "HD Factual/Reality");
            AddCategoryMapping(215, TorznabCatType.TV, "Home and Garden");
            AddCategoryMapping(219, TorznabCatType.TV, "Motoring");
            AddCategoryMapping(216, TorznabCatType.TV, "Reality TV");

            AddCategoryMapping(184, TorznabCatType.TV, "Full Series Packs");
            AddCategoryMapping(194, TorznabCatType.TV, "Classic Comedy");
            AddCategoryMapping(193, TorznabCatType.TV, "Classic Drama");
            AddCategoryMapping(196, TorznabCatType.TV, "Classic Kids/Family");
            AddCategoryMapping(170, TorznabCatType.TV, "Comedy");
            AddCategoryMapping(168, TorznabCatType.TV, "Comedy Drama");
            AddCategoryMapping(228, TorznabCatType.TV, "Commonwealth");
            AddCategoryMapping(190, TorznabCatType.TV, "Crime Drama");
            AddCategoryMapping(166, TorznabCatType.TV, "Documentary");
            AddCategoryMapping(185, TorznabCatType.TV, "Drama");
            AddCategoryMapping(191, TorznabCatType.TV, "Entertainment");
            AddCategoryMapping(210, TorznabCatType.TV, "Factual");
            AddCategoryMapping(226, TorznabCatType.TV, "Foreign");
            AddCategoryMapping(167, TorznabCatType.TV, "Kids/Family");
            AddCategoryMapping(186, TorznabCatType.TV, "Sci-fi");

            AddCategoryMapping(82, TorznabCatType.TV, "Kids/Family");

            AddCategoryMapping(198, TorznabCatType.TVFOREIGN, "Non-UK");
            AddCategoryMapping(201, TorznabCatType.TVFOREIGN, "Comedy");
            AddCategoryMapping(208, TorznabCatType.TVFOREIGN, "Documentary");
            AddCategoryMapping(200, TorznabCatType.TVFOREIGN, "Drama");
            AddCategoryMapping(209, TorznabCatType.TVFOREIGN, "Entertainment");
            AddCategoryMapping(203, TorznabCatType.TVFOREIGN, "Factual/Reality");
            AddCategoryMapping(227, TorznabCatType.TVFOREIGN, "Foreign");
            AddCategoryMapping(202, TorznabCatType.TVFOREIGN, "Sci-fi");
            AddCategoryMapping(199, TorznabCatType.TVFOREIGN, "Soaps");
            AddCategoryMapping(204, TorznabCatType.TVFOREIGN, "Special Interest");

            AddCategoryMapping(86, TorznabCatType.Audio, "Radio/Audio");
            AddCategoryMapping(87, TorznabCatType.AudioAudiobook, "Audio Books");
            AddCategoryMapping(88, TorznabCatType.Audio, "Radio Comedy");

            AddCategoryMapping(90, TorznabCatType.TVSD, "Sci-Fi");
            AddCategoryMapping(183, TorznabCatType.TVSD, "Fantasy");
            AddCategoryMapping(176, TorznabCatType.TVHD, "HD Sci-Fi");
            AddCategoryMapping(173, TorznabCatType.TV, "Supernatural/fantasy");

            AddCategoryMapping(220, TorznabCatType.TV, "Soaps");
            AddCategoryMapping(229, TorznabCatType.TV, "Monthly Archives");
            AddCategoryMapping(177, TorznabCatType.TVHD, "Soap HD");
            AddCategoryMapping(230, TorznabCatType.TVSD, "Soap SD");

            AddCategoryMapping(92, TorznabCatType.TVSport, "Sport");
            AddCategoryMapping(222, TorznabCatType.TVSport, "HD Sport");

            AddCategoryMapping(83, TorznabCatType.Movies, "TV Aired Movies");
            AddCategoryMapping(171, TorznabCatType.Movies, "Classic Movies");
            AddCategoryMapping(178, TorznabCatType.MoviesHD, "HD TV Aired Movies");
            AddCategoryMapping(181, TorznabCatType.Movies, "Made for TV");
            AddCategoryMapping(182, TorznabCatType.Movies, "TV Aired Movies");
        }
Ejemplo n.º 6
0
        public XSpeeds(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
            : base(name: "XSpeeds",
                   description: "XSpeeds (XS) is a Private Torrent Tracker for MOVIES / TV / GENERAL",
                   link: "https://www.xspeeds.eu/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
        {
            Encoding = Encoding.UTF8;
            Language = "en-us";
            Type     = "private";

            configData.DisplayText.Value = "Expect an initial delay (often around 10 seconds) due to XSpeeds CloudFlare DDoS protection";
            configData.DisplayText.Name  = "Notice";

            AddCategoryMapping(70, TorznabCatType.TVAnime);        // Anime
            AddCategoryMapping(4, TorznabCatType.PC);              // Apps
            AddCategoryMapping(82, TorznabCatType.PCMac);          // Mac
            AddCategoryMapping(80, TorznabCatType.AudioAudiobook); // Audiobooks
            AddCategoryMapping(66, TorznabCatType.MoviesBluRay);   // Blu-Ray
            AddCategoryMapping(48, TorznabCatType.Books);          // Books Magazines
            AddCategoryMapping(68, TorznabCatType.MoviesOther);    // Cams/TS
            AddCategoryMapping(65, TorznabCatType.TVDocumentary);  // Documentaries
            AddCategoryMapping(10, TorznabCatType.MoviesDVD);      // DVDR
            AddCategoryMapping(72, TorznabCatType.MoviesForeign);  // Foreign
            AddCategoryMapping(74, TorznabCatType.TVOTHER);        // Kids
            AddCategoryMapping(44, TorznabCatType.TVSport);        // MMA
            AddCategoryMapping(11, TorznabCatType.Movies);         // Movie Boxsets
            AddCategoryMapping(12, TorznabCatType.Movies);         // Movies
            AddCategoryMapping(13, TorznabCatType.Audio);          // Music
            AddCategoryMapping(15, TorznabCatType.AudioVideo);     // Music Videos
            AddCategoryMapping(32, TorznabCatType.ConsoleNDS);     // NDS Games
            AddCategoryMapping(9, TorznabCatType.Other);           // Other
            AddCategoryMapping(6, TorznabCatType.PCGames);         // PC Games
            AddCategoryMapping(45, TorznabCatType.Other);          // Pictures
            AddCategoryMapping(31, TorznabCatType.ConsolePS4);     // Playstation
            AddCategoryMapping(71, TorznabCatType.TV);             // PPV
            AddCategoryMapping(54, TorznabCatType.TV);             // Soaps
            AddCategoryMapping(20, TorznabCatType.TVSport);        // Sports
            AddCategoryMapping(86, TorznabCatType.TVSport);        // MotorSports
            AddCategoryMapping(89, TorznabCatType.TVSport);        // Olympics 2016
            AddCategoryMapping(88, TorznabCatType.TVSport);        // World Cup
            AddCategoryMapping(83, TorznabCatType.Movies);         // TOTM
            AddCategoryMapping(21, TorznabCatType.TVSD);           // TV Boxsets
            AddCategoryMapping(76, TorznabCatType.TVHD);           // HD Boxsets
            AddCategoryMapping(47, TorznabCatType.TVHD);           // TV-HD
            AddCategoryMapping(16, TorznabCatType.TVSD);           // TV-SD
            AddCategoryMapping(7, TorznabCatType.ConsoleWii);      // Wii Games
            AddCategoryMapping(43, TorznabCatType.TVSport);        // Wrestling
            AddCategoryMapping(8, TorznabCatType.ConsoleXbox);     // Xbox Games

            // RSS Textual categories
            AddCategoryMapping("Anime", TorznabCatType.TVAnime);
            AddCategoryMapping("Apps", TorznabCatType.PC);
            AddCategoryMapping("Mac", TorznabCatType.PCMac);
            AddCategoryMapping("Audiobooks", TorznabCatType.AudioAudiobook);
            AddCategoryMapping("Blu-Ray", TorznabCatType.MoviesBluRay);
            AddCategoryMapping("Books Magazines", TorznabCatType.Books);
            AddCategoryMapping("Cams/TS", TorznabCatType.MoviesOther);
            AddCategoryMapping("Documentaries", TorznabCatType.TVDocumentary);
            AddCategoryMapping("DVDR", TorznabCatType.MoviesDVD);
            AddCategoryMapping("Foreign", TorznabCatType.MoviesForeign);
            AddCategoryMapping("Kids", TorznabCatType.TVOTHER);
            AddCategoryMapping("MMA", TorznabCatType.TVSport);
            AddCategoryMapping("Movie Boxsets", TorznabCatType.Movies);
            AddCategoryMapping("Movies", TorznabCatType.Movies);
            AddCategoryMapping("Music", TorznabCatType.Audio);
            AddCategoryMapping("Music Videos", TorznabCatType.AudioVideo);
            AddCategoryMapping("NDS Games", TorznabCatType.ConsoleNDS);
            AddCategoryMapping("Other", TorznabCatType.Other);
            AddCategoryMapping("PC Games", TorznabCatType.PCGames);
            AddCategoryMapping("Pictures", TorznabCatType.Other);
            AddCategoryMapping("Playstation", TorznabCatType.ConsolePS4);
            AddCategoryMapping("PPV", TorznabCatType.TV);
            AddCategoryMapping("Soaps", TorznabCatType.TV);
            AddCategoryMapping("Sports", TorznabCatType.TVSport);
            AddCategoryMapping("MotorSports", TorznabCatType.TVSport);
            AddCategoryMapping("Olympics 2016", TorznabCatType.TVSport);
            AddCategoryMapping("World Cup", TorznabCatType.TVSport);
            AddCategoryMapping("TOTM", TorznabCatType.Movies);
            AddCategoryMapping("TV Boxsets", TorznabCatType.TVSD);
            AddCategoryMapping("HD Boxsets", TorznabCatType.TVHD);
            AddCategoryMapping("TV-HD", TorznabCatType.TVHD);
            AddCategoryMapping("TV-SD", TorznabCatType.TVSD);
            AddCategoryMapping("Wii Games", TorznabCatType.ConsoleWii);
            AddCategoryMapping("Wrestling", TorznabCatType.TVSport);
            AddCategoryMapping("Xbox Games", TorznabCatType.ConsoleXbox);
        }
Ejemplo n.º 7
0
        public BitSoup(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "BitSoup",
                   description: "SoupieBits",
                   link: "https://www.bitsoup.me/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new NxtGnConfigurationData())
        {
            this.configData.DisplayText.Value  = this.DisplayName + " has multiple URLs.  The default (" + this.SiteLink + ") can be changed by entering a new value in the box below.";
            this.configData.DisplayText.Value += "The following are some known URLs for " + this.DisplayName;
            this.configData.DisplayText.Value += "<ul><li>" + String.Join("</li><li>", this.KnownURLs.ToArray()) + "</li></ul>";

            //AddCategoryMapping("624", TorznabCatType.Console);
            //AddCategoryMapping("307", TorznabCatType.ConsoleNDS);
            //AddCategoryMapping("308", TorznabCatType.ConsolePSP);
            AddCategoryMapping("35", TorznabCatType.ConsoleWii);
            //AddCategoryMapping("309", TorznabCatType.ConsoleXbox);
            AddCategoryMapping("12", TorznabCatType.ConsoleXbox360);
            //AddCategoryMapping("305", TorznabCatType.ConsoleWiiwareVC);
            //AddCategoryMapping("309", TorznabCatType.ConsoleXBOX360DLC);
            AddCategoryMapping("38", TorznabCatType.ConsolePS3);
            //AddCategoryMapping("239", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("245", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("246", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("626", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("628", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("630", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("307", TorznabCatType.Console3DS);
            //AddCategoryMapping("308", TorznabCatType.ConsolePSVita);
            //AddCategoryMapping("307", TorznabCatType.ConsoleWiiU);
            //AddCategoryMapping("309", TorznabCatType.ConsoleXboxOne);
            //AddCategoryMapping("308", TorznabCatType.ConsolePS4);
            //AddCategoryMapping("631", TorznabCatType.Movies);
            //AddCategoryMapping("631", TorznabCatType.MoviesForeign);
            //AddCategoryMapping("455", TorznabCatType.MoviesOther);
            //AddCategoryMapping("633", TorznabCatType.MoviesOther);
            AddCategoryMapping("19", TorznabCatType.MoviesSD);
            AddCategoryMapping("41", TorznabCatType.MoviesHD);
            AddCategoryMapping("17", TorznabCatType.Movies3D);
            AddCategoryMapping("80", TorznabCatType.MoviesBluRay);
            AddCategoryMapping("20", TorznabCatType.MoviesDVD);
            //AddCategoryMapping("631", TorznabCatType.MoviesWEBDL);
            AddCategoryMapping("6", TorznabCatType.Audio);
            //AddCategoryMapping("623", TorznabCatType.AudioMP3);
            AddCategoryMapping("29", TorznabCatType.AudioVideo);
            //AddCategoryMapping("402", TorznabCatType.AudioVideo);
            AddCategoryMapping("5", TorznabCatType.AudioAudiobook);
            //AddCategoryMapping("1", TorznabCatType.AudioLossless);
            //AddCategoryMapping("403", TorznabCatType.AudioOther);
            //AddCategoryMapping("642", TorznabCatType.AudioOther);
            //AddCategoryMapping("1", TorznabCatType.AudioForeign);
            //AddCategoryMapping("233", TorznabCatType.PC);
            //AddCategoryMapping("236", TorznabCatType.PC);
            //AddCategoryMapping("1", TorznabCatType.PC0day);
            AddCategoryMapping("1", TorznabCatType.PCISO);
            //AddCategoryMapping("235", TorznabCatType.PCMac);
            //AddCategoryMapping("627", TorznabCatType.PCPhoneOther);
            AddCategoryMapping("21", TorznabCatType.PCGames);
            AddCategoryMapping("4", TorznabCatType.PCGames);
            //AddCategoryMapping("625", TorznabCatType.PCPhoneIOS);
            //AddCategoryMapping("625", TorznabCatType.PCPhoneAndroid);
            AddCategoryMapping("45", TorznabCatType.TV);
            //AddCategoryMapping("433", TorznabCatType.TV);
            //AddCategoryMapping("639", TorznabCatType.TVWEBDL);
            //AddCategoryMapping("433", TorznabCatType.TVWEBDL);
            //AddCategoryMapping("639", TorznabCatType.TVFOREIGN);
            //AddCategoryMapping("433", TorznabCatType.TVFOREIGN);
            AddCategoryMapping("7", TorznabCatType.TVSD);
            AddCategoryMapping("49", TorznabCatType.TVSD);
            AddCategoryMapping("42", TorznabCatType.TVHD);
            //AddCategoryMapping("433", TorznabCatType.TVHD);
            //AddCategoryMapping("635", TorznabCatType.TVOTHER);
            //AddCategoryMapping("636", TorznabCatType.TVSport);
            AddCategoryMapping("23", TorznabCatType.TVAnime);
            //AddCategoryMapping("634", TorznabCatType.TVDocumentary);
            AddCategoryMapping("9", TorznabCatType.XXX);
            //AddCategoryMapping("1", TorznabCatType.XXXDVD);
            //AddCategoryMapping("1", TorznabCatType.XXXWMV);
            //AddCategoryMapping("1", TorznabCatType.XXXXviD);
            //AddCategoryMapping("1", TorznabCatType.XXXx264);
            //AddCategoryMapping("1", TorznabCatType.XXXOther);
            //AddCategoryMapping("1", TorznabCatType.XXXImageset);
            //AddCategoryMapping("1", TorznabCatType.XXXPacks);
            //AddCategoryMapping("340", TorznabCatType.Other);
            //AddCategoryMapping("342", TorznabCatType.Other);
            //AddCategoryMapping("344", TorznabCatType.Other);
            //AddCategoryMapping("391", TorznabCatType.Other);
            //AddCategoryMapping("392", TorznabCatType.Other);
            //AddCategoryMapping("393", TorznabCatType.Other);
            //AddCategoryMapping("394", TorznabCatType.Other);
            //AddCategoryMapping("234", TorznabCatType.Other);
            //AddCategoryMapping("638", TorznabCatType.Other);
            //AddCategoryMapping("629", TorznabCatType.Other);
            //AddCategoryMapping("1", TorznabCatType.OtherMisc);
            //AddCategoryMapping("1", TorznabCatType.OtherHashed);
            //AddCategoryMapping("408", TorznabCatType.Books);
            AddCategoryMapping("24", TorznabCatType.BooksEbook);
            //AddCategoryMapping("406", TorznabCatType.BooksComics);
            //AddCategoryMapping("407", TorznabCatType.BooksComics);
            //AddCategoryMapping("409", TorznabCatType.BooksComics);
            //AddCategoryMapping("410", TorznabCatType.BooksMagazines);
            //AddCategoryMapping("1", TorznabCatType.BooksTechnical);
            //AddCategoryMapping("1", TorznabCatType.BooksOther);
            //AddCategoryMapping("1", TorznabCatType.BooksForeign);
        }
Ejemplo n.º 8
0
        public Pretome(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "PreToMe",
                   description: "BitTorrent site for High Quality, High Definition (HD) movies and TV Shows",
                   link: "https://pretome.info/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   client: wc,
                   manager: i,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataPinNumber())
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "en-us";
            Type     = "private";

            AddCategoryMapping("cat[]=22&tags=Windows", TorznabCatType.PC0day);
            AddCategoryMapping("cat[]=22&tags=MAC", TorznabCatType.PCMac);
            AddCategoryMapping("cat[]=22&tags=Linux", TorznabCatType.PC);

            AddCategoryMapping("cat[]=27", TorznabCatType.BooksEbook);

            AddCategoryMapping("cat[]=4&tags=PC", TorznabCatType.PCGames);
            AddCategoryMapping("cat[]=4&tags=RIP", TorznabCatType.PCGames);
            AddCategoryMapping("cat[]=4&tags=ISO", TorznabCatType.PCGames);
            AddCategoryMapping("cat[]=4&tags=XBOX360", TorznabCatType.ConsoleXbox360);
            AddCategoryMapping("cat[]=4&tags=PS3", TorznabCatType.ConsolePS3);
            AddCategoryMapping("cat[]=4&tags=Wii", TorznabCatType.ConsoleWii);
            AddCategoryMapping("cat[]=4&tags=PSP", TorznabCatType.ConsolePSP);
            AddCategoryMapping("cat[]=4&tags=NSD", TorznabCatType.ConsoleNDS);
            AddCategoryMapping("cat[]=4&tags=XBox", TorznabCatType.ConsoleXbox);
            AddCategoryMapping("cat[]=4&tags=PS2", TorznabCatType.ConsoleOther);

            AddCategoryMapping("cat[]=31&tags=Ebook", TorznabCatType.BooksEbook);
            AddCategoryMapping("cat[]=31&tags=RARFiX", TorznabCatType.Other);

            AddCategoryMapping("cat[]=19&tags=x264", TorznabCatType.Movies);
            AddCategoryMapping("cat[]=19&tags=720p", TorznabCatType.MoviesHD);
            AddCategoryMapping("cat[]=19&tags=XviD", TorznabCatType.MoviesSD);
            AddCategoryMapping("cat[]=19&tags=BluRay", TorznabCatType.MoviesHD);
            AddCategoryMapping("cat[]=19&tags=DVDRiP", TorznabCatType.MoviesSD);
            AddCategoryMapping("cat[]=19&tags=1080p", TorznabCatType.MoviesHD);
            AddCategoryMapping("cat[]=19&tags=DVD", TorznabCatType.MoviesSD);
            AddCategoryMapping("cat[]=19&tags=DVDR", TorznabCatType.MoviesSD);
            AddCategoryMapping("cat[]=19&tags=WMV", TorznabCatType.Movies);
            AddCategoryMapping("cat[]=19&tags=CAM", TorznabCatType.Movies);

            AddCategoryMapping("cat[]=6&tags=MP3", TorznabCatType.AudioMP3);
            AddCategoryMapping("cat[]=6&tags=V2", TorznabCatType.AudioMP3);
            AddCategoryMapping("cat[]=6&tags=FLAC", TorznabCatType.AudioLossless);
            AddCategoryMapping("cat[]=6&tags=320kbps", TorznabCatType.AudioMP3);

            AddCategoryMapping("cat[]=7&tags=x264", TorznabCatType.TVHD);
            AddCategoryMapping("cat[]=7&tags=720p", TorznabCatType.TVHD);
            AddCategoryMapping("cat[]=7&tags=HDTV", TorznabCatType.TVHD);
            AddCategoryMapping("cat[]=7&tags=XviD", TorznabCatType.TVSD);
            AddCategoryMapping("cat[]=7&BluRay", TorznabCatType.TVHD);
            AddCategoryMapping("cat[]=7&tags=DVDRip", TorznabCatType.TVSD);
            AddCategoryMapping("cat[]=7&tags=DVD", TorznabCatType.TVSD);
            AddCategoryMapping("cat[]=7&tags=Documentary", TorznabCatType.TVDocumentary);
            AddCategoryMapping("cat[]=7&tags=PDTV", TorznabCatType.TVSD);
            AddCategoryMapping("cat[]=7&tags=HD-DVD", TorznabCatType.TVSD);


            AddCategoryMapping("cat[]=51&tags=XviD", TorznabCatType.XXXXviD);
            AddCategoryMapping("cat[]=51&tags=DVDRiP", TorznabCatType.XXXDVD);

            // Unfortunately they are tags not categories so return the results
            // as the parent category so do not get results removed with the filtering.

            AddResultCategoryMapping("cat[]=22&tags=Windows", TorznabCatType.PC);
            AddResultCategoryMapping("cat[]=22&tags=MAC", TorznabCatType.PC);
            AddResultCategoryMapping("cat[]=22&tags=Linux", TorznabCatType.PC);
            AddResultCategoryMapping("cat[]=22&tags=All", TorznabCatType.PC);
            AddResultCategoryMapping("cat[]=22", TorznabCatType.PC);

            AddResultCategoryMapping("cat[]=27&tags=All", TorznabCatType.Books);
            AddResultCategoryMapping("cat[]=27", TorznabCatType.Books);

            AddResultCategoryMapping("cat[]=4&tags=PC", TorznabCatType.PC);
            AddResultCategoryMapping("cat[]=4&tags=RIP", TorznabCatType.PC);
            AddResultCategoryMapping("cat[]=4&tags=ISO", TorznabCatType.PC);
            AddResultCategoryMapping("cat[]=4&tags=XBOX360", TorznabCatType.Console);
            AddResultCategoryMapping("cat[]=4&tags=PS3", TorznabCatType.Console);
            AddResultCategoryMapping("cat[]=4&tags=Wii", TorznabCatType.Console);
            AddResultCategoryMapping("cat[]=4&tags=PSP", TorznabCatType.Console);
            AddResultCategoryMapping("cat[]=4&tags=NSD", TorznabCatType.Console);
            AddResultCategoryMapping("cat[]=4&tags=XBox", TorznabCatType.Console);
            AddResultCategoryMapping("cat[]=4&tags=PS2", TorznabCatType.Console);
            AddResultCategoryMapping("cat[]=4&tags=All", TorznabCatType.Console);
            AddResultCategoryMapping("cat[]=4", TorznabCatType.Console);

            AddResultCategoryMapping("cat[]=31&tags=Ebook", TorznabCatType.Books);
            AddResultCategoryMapping("cat[]=31&tags=RARFiX", TorznabCatType.Other);
            AddResultCategoryMapping("cat[]=31&tags=All", TorznabCatType.Other);
            AddResultCategoryMapping("cat[]=31", TorznabCatType.Other);

            AddResultCategoryMapping("cat[]=19&tags=x264", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=720p", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=XviD", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=BluRay", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=DVDRiP", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=1080p", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=DVD", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=DVDR", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=WMV", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=CAM", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19&tags=All", TorznabCatType.Movies);
            AddResultCategoryMapping("cat[]=19", TorznabCatType.Movies);

            AddResultCategoryMapping("cat[]=6&tags=MP3", TorznabCatType.Audio);
            AddResultCategoryMapping("cat[]=6&tags=V2", TorznabCatType.Audio);
            AddResultCategoryMapping("cat[]=6&tags=FLAC", TorznabCatType.Audio);
            AddResultCategoryMapping("cat[]=6&tags=320kbps", TorznabCatType.Audio);
            AddResultCategoryMapping("cat[]=6&tags=All", TorznabCatType.Audio);
            AddResultCategoryMapping("cat[]=6", TorznabCatType.Audio);

            AddResultCategoryMapping("cat[]=7&tags=x264", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=720p", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=HDTV", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=XviD", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&BluRay", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=DVDRip", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=DVD", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=Documentary", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=PDTV", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=HD-DVD", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7&tags=All", TorznabCatType.TV);
            AddResultCategoryMapping("cat[]=7", TorznabCatType.TV);

            AddResultCategoryMapping("cat[]=51&tags=XviD", TorznabCatType.XXX);
            AddResultCategoryMapping("cat[]=51&tags=DVDRiP", TorznabCatType.XXX);
            AddResultCategoryMapping("cat[]=51&tags=All", TorznabCatType.XXX);
            AddResultCategoryMapping("cat[]=51", TorznabCatType.XXX);
        }
Ejemplo n.º 9
0
        public TVChaosUK(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "TV Chaos",
                   description: "Total Chaos",
                   link: "https://www.tvchaosuk.com/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLoginWithRSS())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "en-uk";
            Type     = "private";

            AddCategoryMapping(72, TorznabCatType.PC);
            AddCategoryMapping(86, TorznabCatType.Audio);
            AddCategoryMapping(87, TorznabCatType.AudioAudiobook);
            AddCategoryMapping(88, TorznabCatType.Audio);

            AddCategoryMapping(83, TorznabCatType.Movies);
            AddCategoryMapping(171, TorznabCatType.Movies);
            AddCategoryMapping(178, TorznabCatType.MoviesHD);
            AddCategoryMapping(181, TorznabCatType.Movies);
            AddCategoryMapping(182, TorznabCatType.Movies);

            AddCategoryMapping(75, TorznabCatType.TVDocumentary);
            AddCategoryMapping(189, TorznabCatType.TVDocumentary);
            AddCategoryMapping(224, TorznabCatType.TVDocumentary);
            AddCategoryMapping(174, TorznabCatType.TVDocumentary);
            AddCategoryMapping(113, TorznabCatType.TVDocumentary);
            AddCategoryMapping(100, TorznabCatType.TVDocumentary);
            AddCategoryMapping(98, TorznabCatType.TVDocumentary);

            AddCategoryMapping(176, TorznabCatType.TVHD);
            AddCategoryMapping(175, TorznabCatType.TVHD);
            AddCategoryMapping(177, TorznabCatType.TVHD);
            AddCategoryMapping(223, TorznabCatType.TVHD);
            AddCategoryMapping(222, TorznabCatType.TVHD);
            AddCategoryMapping(172, TorznabCatType.TVHD);
            AddCategoryMapping(221, TorznabCatType.TVHD);

            // RSS Textual categories
            AddCategoryMapping("Appz", TorznabCatType.PC);
            AddCategoryMapping("Radio/Audio", TorznabCatType.Audio);
            AddCategoryMapping("Audio Books", TorznabCatType.AudioAudiobook);
            AddCategoryMapping("Radio Comedy", TorznabCatType.AudioAudiobook);

            AddCategoryMapping("TV Aired Movies", TorznabCatType.Movies);
            AddCategoryMapping("Classic Movies", TorznabCatType.Movies);
            AddCategoryMapping("HD TV Aired Movies", TorznabCatType.MoviesHD);
            AddCategoryMapping("Made for TV", TorznabCatType.Movies);
            AddCategoryMapping("TV Aired Movies", TorznabCatType.Movies);

            AddCategoryMapping("Documentary & News", TorznabCatType.TVDocumentary);
            AddCategoryMapping("Docudrama", TorznabCatType.TVDocumentary);
            AddCategoryMapping("Documentary", TorznabCatType.TVDocumentary);
            AddCategoryMapping("HD Documentary", TorznabCatType.TVDocumentary);
            AddCategoryMapping("Historical", TorznabCatType.TVDocumentary);
            AddCategoryMapping("True Crime", TorznabCatType.TVDocumentary);
            AddCategoryMapping("Wildlife/Nature", TorznabCatType.TVDocumentary);

            AddCategoryMapping("HD Sci-Fi", TorznabCatType.TVHD);
            AddCategoryMapping("HD Drama", TorznabCatType.TVHD);
            AddCategoryMapping("HD Soaps", TorznabCatType.TVHD);
            AddCategoryMapping("HD Entertainment", TorznabCatType.TVHD);
            AddCategoryMapping("HD Sport", TorznabCatType.TVHD);
            AddCategoryMapping("HD Comedy", TorznabCatType.TVHD);
            AddCategoryMapping("HD Factual/Reality", TorznabCatType.TVHD);
        }
Ejemplo n.º 10
0
        public async Task <HttpResponseMessage> Call(string indexerID, [FromUri] TorrentPotatoRequest request)
        {
            var indexer = indexerService.GetIndexer(indexerID);

            var allowBadApiDueToDebug = false;

#if DEBUG
            allowBadApiDueToDebug = Debugger.IsAttached;
#endif

            if (!allowBadApiDueToDebug && !string.Equals(request.passkey, serverService.Config.APIKey, StringComparison.InvariantCultureIgnoreCase))
            {
                logger.Warn(string.Format("A request from {0} was made with an incorrect API key.", Request.GetOwinContext().Request.RemoteIpAddress));
                return(Request.CreateResponse(HttpStatusCode.Forbidden, "Incorrect API key"));
            }

            if (!indexer.IsConfigured)
            {
                logger.Warn(string.Format("Rejected a request to {0} which is unconfigured.", indexer.DisplayName));
                return(Request.CreateResponse(HttpStatusCode.Forbidden, "This indexer is not configured."));
            }

            if (!indexer.TorznabCaps.Categories.Select(c => c.ID).Any(i => MOVIE_CATS.Contains(i)))
            {
                logger.Warn(string.Format("Rejected a request to {0} which does not support searching for movies.", indexer.DisplayName));
                return(Request.CreateResponse(HttpStatusCode.Forbidden, "This indexer does not support movies."));
            }

            var year = 0;

            if (string.IsNullOrWhiteSpace(request.search))
            {
                // We are searching by IMDB id so look up the name
                var response = await webClient.GetString(new Utils.Clients.WebRequest("http://www.omdbapi.com/?type=movie&i=" + request.imdbid));

                if (response.Status == HttpStatusCode.OK)
                {
                    JObject result = JObject.Parse(response.Content);
                    if (result["Title"] != null)
                    {
                        request.search = result["Title"].ToString();
                        year           = ParseUtil.CoerceInt(result["Year"].ToString());
                    }
                }
            }

            var torznabQuery = new TorznabQuery()
            {
                ApiKey     = request.passkey,
                Categories = MOVIE_CATS,
                SearchTerm = request.search,
                ImdbID     = request.imdbid
            };

            IEnumerable <ReleaseInfo> releases = new List <ReleaseInfo>();

            if (!string.IsNullOrWhiteSpace(torznabQuery.SanitizedSearchTerm))
            {
                releases = await indexer.PerformQuery(torznabQuery);

                releases = indexer.CleanLinks(releases);
            }

            // Cache non query results
            if (string.IsNullOrEmpty(torznabQuery.SanitizedSearchTerm))
            {
                cacheService.CacheRssResults(indexer, releases);
            }

            releases = indexer.FilterResults(torznabQuery, releases);
            var serverUrl      = string.Format("{0}://{1}:{2}{3}", Request.RequestUri.Scheme, Request.RequestUri.Host, Request.RequestUri.Port, serverService.BasePath());
            var potatoResponse = new TorrentPotatoResponse();

            releases = TorznabUtil.FilterResultsToTitle(releases, torznabQuery.SanitizedSearchTerm, year);
            releases = TorznabUtil.FilterResultsToImdb(releases, request.imdbid);

            foreach (var r in releases)
            {
                var release = Mapper.Map <ReleaseInfo>(r);
                release.Link = serverService.ConvertToProxyLink(release.Link, serverUrl, indexerID, "dl", release.Title + ".torrent");

                // Only accept torrent links, magnet is not supported
                if (release.Link != null)
                {
                    potatoResponse.results.Add(new TorrentPotatoResponseItem()
                    {
                        release_name = release.Title + "[" + indexer.DisplayName + "]", // Suffix the indexer so we can see which tracker we are using in CPS as it just says torrentpotato >.>
                        torrent_id   = release.Guid.ToString(),
                        details_url  = release.Comments.ToString(),
                        download_url = release.Link.ToString(),
                        imdb_id      = release.Imdb.HasValue ? "tt" + release.Imdb : null,
                        freeleech    = false,
                        type         = "movie",
                        size         = (long)release.Size / (1024 * 1024), // This is in MB
                        leechers     = (int)release.Peers - (int)release.Seeders,
                        seeders      = (int)release.Seeders
                    });
                }
            }

            // Log info
            if (string.IsNullOrWhiteSpace(torznabQuery.SanitizedSearchTerm))
            {
                logger.Info(string.Format("Found {0} torrentpotato releases from {1}", releases.Count(), indexer.DisplayName));
            }
            else
            {
                logger.Info(string.Format("Found {0} torrentpotato releases from {1} for: {2}", releases.Count(), indexer.DisplayName, torznabQuery.GetQueryString()));
            }

            // Force the return as Json
            return(new HttpResponseMessage()
            {
                Content = new JsonContent(potatoResponse)
            });
        }
Ejemplo n.º 11
0
        public Toloka(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
            : base(name: "Toloka.to",
                   description: "Toloka is a Semi-Private Ukrainian torrent site with a thriving file-sharing community",
                   link: "https://toloka.to/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataToloka())
        {
            Encoding = Encoding.GetEncoding("utf-8");
            Language = "uk-ua";
            Type     = "semi-private";

            AddCategoryMapping(117, TorznabCatType.Movies, "Українське кіно");
            AddCategoryMapping(84, TorznabCatType.Movies, "|-Мультфільми і казки");
            AddCategoryMapping(42, TorznabCatType.Movies, "|-Художні фільми");
            AddCategoryMapping(124, TorznabCatType.TV, "|-Телесеріали");
            AddCategoryMapping(125, TorznabCatType.TV, "|-Мультсеріали");
            AddCategoryMapping(129, TorznabCatType.Movies, "|-АртХаус");
            AddCategoryMapping(219, TorznabCatType.Movies, "|-Аматорське відео");
            AddCategoryMapping(118, TorznabCatType.Movies, "Українське озвучення");
            AddCategoryMapping(16, TorznabCatType.Movies, "|-Фільми");
            AddCategoryMapping(32, TorznabCatType.TV, "|-Телесеріали");
            AddCategoryMapping(19, TorznabCatType.Movies, "|-Мультфільми");
            AddCategoryMapping(44, TorznabCatType.TV, "|-Мультсеріали");
            AddCategoryMapping(127, TorznabCatType.TVAnime, "|-Аніме");
            AddCategoryMapping(55, TorznabCatType.Movies, "|-АртХаус");
            AddCategoryMapping(94, TorznabCatType.MoviesOther, "|-Трейлери");
            AddCategoryMapping(144, TorznabCatType.Movies, "|-Короткометражні");

            AddCategoryMapping(190, TorznabCatType.Movies, "Українські субтитри");
            AddCategoryMapping(70, TorznabCatType.Movies, "|-Фільми");
            AddCategoryMapping(192, TorznabCatType.TV, "|-Телесеріали");
            AddCategoryMapping(193, TorznabCatType.Movies, "|-Мультфільми");
            AddCategoryMapping(195, TorznabCatType.TV, "|-Мультсеріали");
            AddCategoryMapping(194, TorznabCatType.TVAnime, "|-Аніме");
            AddCategoryMapping(196, TorznabCatType.Movies, "|-АртХаус");
            AddCategoryMapping(197, TorznabCatType.Movies, "|-Короткометражні");

            AddCategoryMapping(225, TorznabCatType.TVDocumentary, "Документальні фільми українською");
            AddCategoryMapping(21, TorznabCatType.TVDocumentary, "|-Українські наукові документальні фільми");
            AddCategoryMapping(131, TorznabCatType.TVDocumentary, "|-Українські історичні документальні фільми");
            AddCategoryMapping(226, TorznabCatType.TVDocumentary, "|-BBC");
            AddCategoryMapping(227, TorznabCatType.TVDocumentary, "|-Discovery");
            AddCategoryMapping(228, TorznabCatType.TVDocumentary, "|-National Geographic");
            AddCategoryMapping(229, TorznabCatType.TVDocumentary, "|-History Channel");
            AddCategoryMapping(230, TorznabCatType.TVDocumentary, "|-Інші іноземні документальні фільми");

            AddCategoryMapping(119, TorznabCatType.TVOTHER, "Телепередачі українською");
            AddCategoryMapping(18, TorznabCatType.TVOTHER, "|-Музичне відео");
            AddCategoryMapping(132, TorznabCatType.TVOTHER, "|-Телевізійні шоу та програми");

            AddCategoryMapping(157, TorznabCatType.TVSport, "Український спорт");
            AddCategoryMapping(235, TorznabCatType.TVSport, "|-Олімпіада");
            AddCategoryMapping(170, TorznabCatType.TVSport, "|-Чемпіонати Європи з футболу");
            AddCategoryMapping(162, TorznabCatType.TVSport, "|-Чемпіонати світу з футболу");
            AddCategoryMapping(166, TorznabCatType.TVSport, "|-Чемпіонат та Кубок України з футболу");
            AddCategoryMapping(167, TorznabCatType.TVSport, "|-Єврокубки");
            AddCategoryMapping(168, TorznabCatType.TVSport, "|-Збірна України");
            AddCategoryMapping(169, TorznabCatType.TVSport, "|-Закордонні чемпіонати");
            AddCategoryMapping(54, TorznabCatType.TVSport, "|-Футбольне відео");
            AddCategoryMapping(158, TorznabCatType.TVSport, "|-Баскетбол, хоккей, волейбол, гандбол, футзал");
            AddCategoryMapping(159, TorznabCatType.TVSport, "|-Бокс, реслінг, бойові мистецтва");
            AddCategoryMapping(160, TorznabCatType.TVSport, "|-Авто, мото");
            AddCategoryMapping(161, TorznabCatType.TVSport, "|-Інший спорт, активний відпочинок");

            // AddCategoryMapping(136, TorznabCatType.Other, "HD українською");
            AddCategoryMapping(96, TorznabCatType.MoviesHD, "|-Фільми в HD");
            AddCategoryMapping(173, TorznabCatType.TVHD, "|-Серіали в HD");
            AddCategoryMapping(139, TorznabCatType.MoviesHD, "|-Мультфільми в HD");
            AddCategoryMapping(174, TorznabCatType.TVHD, "|-Мультсеріали в HD");
            AddCategoryMapping(140, TorznabCatType.TVDocumentary, "|-Документальні фільми в HD");
            AddCategoryMapping(120, TorznabCatType.MoviesDVD, "DVD українською");
            AddCategoryMapping(66, TorznabCatType.MoviesDVD, "|-Художні фільми та серіали в DVD");
            AddCategoryMapping(137, TorznabCatType.MoviesDVD, "|-Мультфільми та мультсеріали в DVD");
            AddCategoryMapping(137, TorznabCatType.TV, "|-Мультфільми та мультсеріали в DVD");
            AddCategoryMapping(138, TorznabCatType.MoviesDVD, "|-Документальні фільми в DVD");

            AddCategoryMapping(237, TorznabCatType.Movies, "Відео для мобільних (iOS, Android, Windows Phone)");

            AddCategoryMapping(33, TorznabCatType.AudioVideo, "Звукові доріжки та субтитри");

            AddCategoryMapping(8, TorznabCatType.Audio, "Українська музика (lossy)");
            AddCategoryMapping(23, TorznabCatType.Audio, "|-Поп, Естрада");
            AddCategoryMapping(24, TorznabCatType.Audio, "|-Джаз, Блюз");
            AddCategoryMapping(43, TorznabCatType.Audio, "|-Етно, Фольклор, Народна, Бардівська");
            AddCategoryMapping(35, TorznabCatType.Audio, "|-Інструментальна, Класична та неокласична");
            AddCategoryMapping(37, TorznabCatType.Audio, "|-Рок, Метал, Альтернатива, Панк, СКА");
            AddCategoryMapping(36, TorznabCatType.Audio, "|-Реп, Хіп-хоп, РнБ");
            AddCategoryMapping(38, TorznabCatType.Audio, "|-Електронна музика");
            AddCategoryMapping(56, TorznabCatType.Audio, "|-Невидане");

            AddCategoryMapping(98, TorznabCatType.AudioLossless, "Українська музика (lossless)");
            AddCategoryMapping(100, TorznabCatType.AudioLossless, "|-Поп, Естрада");
            AddCategoryMapping(101, TorznabCatType.AudioLossless, "|-Джаз, Блюз");
            AddCategoryMapping(102, TorznabCatType.AudioLossless, "|-Етно, Фольклор, Народна, Бардівська");
            AddCategoryMapping(103, TorznabCatType.AudioLossless, "|-Інструментальна, Класична та неокласична");
            AddCategoryMapping(104, TorznabCatType.AudioLossless, "|-Рок, Метал, Альтернатива, Панк, СКА");
            AddCategoryMapping(105, TorznabCatType.AudioLossless, "|-Реп, Хіп-хоп, РнБ");
            AddCategoryMapping(106, TorznabCatType.AudioLossless, "|-Електронна музика");

            AddCategoryMapping(11, TorznabCatType.Books, "Друкована література");
            AddCategoryMapping(134, TorznabCatType.Books, "|-Українська художня література (до 1991 р.)");
            AddCategoryMapping(177, TorznabCatType.Books, "|-Українська художня література (після 1991 р.)");
            AddCategoryMapping(178, TorznabCatType.Books, "|-Зарубіжна художня література");
            AddCategoryMapping(179, TorznabCatType.Books, "|-Наукова література (гуманітарні дисципліни)");
            AddCategoryMapping(180, TorznabCatType.Books, "|-Наукова література (природничі дисципліни)");
            AddCategoryMapping(183, TorznabCatType.Books, "|-Навчальна та довідкова");
            AddCategoryMapping(181, TorznabCatType.BooksMagazines, "|-Періодика");
            AddCategoryMapping(182, TorznabCatType.Books, "|-Батькам та малятам");
            AddCategoryMapping(184, TorznabCatType.BooksComics, "|-Графіка (комікси, манґа, BD та інше)");

            AddCategoryMapping(185, TorznabCatType.AudioAudiobook, "Аудіокниги українською");
            AddCategoryMapping(135, TorznabCatType.AudioAudiobook, "|-Українська художня література");
            AddCategoryMapping(186, TorznabCatType.AudioAudiobook, "|-Зарубіжна художня література");
            AddCategoryMapping(187, TorznabCatType.AudioAudiobook, "|-Історія, біографістика, спогади");
            AddCategoryMapping(189, TorznabCatType.AudioAudiobook, "|-Сирий матеріал");

            AddCategoryMapping(9, TorznabCatType.PC, "Windows");
            AddCategoryMapping(25, TorznabCatType.PC, "|-Windows");
            AddCategoryMapping(199, TorznabCatType.PC, "|-Офіс");
            AddCategoryMapping(200, TorznabCatType.PC, "|-Антивіруси та безпека");
            AddCategoryMapping(201, TorznabCatType.PC, "|-Мультимедія");
            AddCategoryMapping(202, TorznabCatType.PC, "|-Утиліти, обслуговування, мережа");
            AddCategoryMapping(239, TorznabCatType.PC, "Linux, Mac OS");
            AddCategoryMapping(26, TorznabCatType.PC, "|-Linux");
            AddCategoryMapping(27, TorznabCatType.PCMac, "|-Mac OS");
            // AddCategoryMapping(240, TorznabCatType.PC, "Інші OS");
            AddCategoryMapping(211, TorznabCatType.PCPhoneAndroid, "|-Android");
            AddCategoryMapping(122, TorznabCatType.PCPhoneIOS, "|-iOS");
            AddCategoryMapping(40, TorznabCatType.PCPhoneOther, "|-Інші мобільні платформи");

            // AddCategoryMapping(241, TorznabCatType.Other, "Інше");
            // AddCategoryMapping(203, TorznabCatType.Other, "|-Інфодиски, електронні підручники, відеоуроки");
            // AddCategoryMapping(12, TorznabCatType.Other, "|-Шпалери, фотографії та зображення");
            // AddCategoryMapping(249, TorznabCatType.Other, "|-Веб-скрипти");
            AddCategoryMapping(10, TorznabCatType.PCGames, "Ігри українською");
            AddCategoryMapping(28, TorznabCatType.PCGames, "|-PC ігри");
            AddCategoryMapping(259, TorznabCatType.PCGames, "|-Mac ігри");
            AddCategoryMapping(29, TorznabCatType.PCGames, "|-Українізації, доповнення, патчі...");
            AddCategoryMapping(30, TorznabCatType.PCGames, "|-Мобільні та консольні ігри");
            AddCategoryMapping(41, TorznabCatType.PCPhoneIOS, "|-iOS");
            AddCategoryMapping(212, TorznabCatType.PCPhoneAndroid, "|-Android");
            AddCategoryMapping(205, TorznabCatType.PCGames, "Переклад ігор українською");
        }
Ejemplo n.º 12
0
        public SceneAccess(IIndexerConfigurationService configService, IWebClient c, Logger l, IProtectionService ps)
            : base(name: "SceneAccess",
                   description: "Your gateway to the scene",
                   link: "https://sceneaccess.eu/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: c,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLogin())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "en-us";
            Type     = "private";

            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);
        }
Ejemplo n.º 13
0
        public TorrentHeaven(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "TorrentHeaven",
                   description: "A German general tracker.",
                   link: "https://torrentheaven.myfqdn.info/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataCaptchaLogin())
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "de-de";

            AddCategoryMapping(1, TorznabCatType.PCGames);         // GAMES/PC
            AddCategoryMapping(3, TorznabCatType.Console);         // GAMES/Sonstige
            AddCategoryMapping(59, TorznabCatType.ConsolePS4);     // GAMES/PlayStation
            AddCategoryMapping(60, TorznabCatType.ConsolePSP);     // GAMES/PSP
            AddCategoryMapping(63, TorznabCatType.ConsoleWii);     // GAMES/Wii
            AddCategoryMapping(67, TorznabCatType.ConsoleXbox360); // GAMES/XBOX 360
            AddCategoryMapping(68, TorznabCatType.PCPhoneOther);   // GAMES/PDA / Handy
            AddCategoryMapping(72, TorznabCatType.ConsoleNDS);     // GAMES/NDS

            AddCategoryMapping(7, TorznabCatType.MoviesDVD);       // MOVIES/DVD
            AddCategoryMapping(8, TorznabCatType.MoviesSD);        // MOVIES/SD
            AddCategoryMapping(37, TorznabCatType.MoviesDVD);      // MOVIES/DVD Spezial
            AddCategoryMapping(41, TorznabCatType.MoviesForeign);  // MOVIES/International
            AddCategoryMapping(101, TorznabCatType.MoviesHD);      // MOVIES/720p
            AddCategoryMapping(102, TorznabCatType.MoviesHD);      // MOVIES/1080p
            AddCategoryMapping(103, TorznabCatType.MoviesHD);      // MOVIES/AVCHD
            AddCategoryMapping(104, TorznabCatType.MoviesBluRay);  // MOVIES/Bluray
            AddCategoryMapping(106, TorznabCatType.Movies3D);      // MOVIES/3D

            AddCategoryMapping(14, TorznabCatType.Audio);          // AUDIO/Musik
            AddCategoryMapping(15, TorznabCatType.AudioAudiobook); // AUDIO/Hörbücher
            AddCategoryMapping(16, TorznabCatType.AudioAudiobook); // AUDIO/Hörspiele
            AddCategoryMapping(36, TorznabCatType.AudioLossless);  // AUDIO/Flac
            AddCategoryMapping(42, TorznabCatType.AudioOther);     // AUDIO/Soundtracks
            AddCategoryMapping(58, TorznabCatType.AudioVideo);     // AUDIO/Musikvideos

            AddCategoryMapping(18, TorznabCatType.TVSD);           // TV/Serien SD
            AddCategoryMapping(19, TorznabCatType.TVHD);           // TV/Serien HD 720p
            AddCategoryMapping(20, TorznabCatType.TVHD);           // TV/Serien HD 1080p
            AddCategoryMapping(49, TorznabCatType.TVSD);           // TV/Serien DVD
            AddCategoryMapping(51, TorznabCatType.TVDocumentary);  // TV/Doku SD
            AddCategoryMapping(52, TorznabCatType.TVDocumentary);  // TV/Doku HD
            AddCategoryMapping(53, TorznabCatType.TV);             // TV/Serien Complete Packs
            AddCategoryMapping(54, TorznabCatType.TVSport);        // TV/Sport
            AddCategoryMapping(66, TorznabCatType.TVFOREIGN);      // TV/International

            AddCategoryMapping(22, TorznabCatType.Books);          // MISC/EBooks
            AddCategoryMapping(24, TorznabCatType.Other);          // MISC/Sonstiges
            AddCategoryMapping(25, TorznabCatType.Other);          // MISC/Tonspuren
            AddCategoryMapping(108, TorznabCatType.TVAnime);       // MISC/Anime

            AddCategoryMapping(28, TorznabCatType.PC);             // APPLICATIONS/PC
            AddCategoryMapping(29, TorznabCatType.PCPhoneOther);   // APPLICATIONS/Mobile
            AddCategoryMapping(30, TorznabCatType.PC);             // APPLICATIONS/Sonstige
            AddCategoryMapping(70, TorznabCatType.PC);             // APPLICATIONS/Linux
            AddCategoryMapping(71, TorznabCatType.PCMac);          // APPLICATIONS/Mac
        }
Ejemplo n.º 14
0
        public TorrentDay(IIndexerManagerService i, Logger l, IWebClient wc, IProtectionService ps)
            : base(name: "TorrentDay",
                   description: "TorrentDay",
                   link: "https://www.torrentday.com/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataRecaptchaLoginWithAlternateLink())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "en-us";

            this.configData.Instructions.Value  = this.DisplayName + " has multiple URLs. The default (" + this.SiteLink + ") can be changed by entering a new value in the box below.";
            this.configData.Instructions.Value += "The following are some known URLs for " + this.DisplayName;
            this.configData.Instructions.Value += "<ul><li>" + String.Join("</li><li>", this.KnownURLs.ToArray()) + "</li></ul>";

            AddCategoryMapping(29, TorznabCatType.TVAnime);        // Anime
            AddCategoryMapping(28, TorznabCatType.PC);             // Appz/Packs
            AddCategoryMapping(42, TorznabCatType.AudioAudiobook); // Audio Books
            AddCategoryMapping(20, TorznabCatType.Books);          // Books
            AddCategoryMapping(30, TorznabCatType.TVDocumentary);  // Documentary
            AddCategoryMapping(47, TorznabCatType.Other);          // Fonts
            AddCategoryMapping(43, TorznabCatType.PCMac);          // Mac

            AddCategoryMapping(25, TorznabCatType.MoviesSD);       // Movies/480p
            AddCategoryMapping(11, TorznabCatType.MoviesBluRay);   // Movies/Bluray
            AddCategoryMapping(5, TorznabCatType.MoviesBluRay);    // Movies/Bluray-Full
            AddCategoryMapping(3, TorznabCatType.MoviesDVD);       // Movies/DVD-R
            AddCategoryMapping(21, TorznabCatType.MoviesSD);       // Movies/MP4
            AddCategoryMapping(22, TorznabCatType.MoviesForeign);  // Movies/Non-English
            AddCategoryMapping(13, TorznabCatType.Movies);         // Movies/Packs
            AddCategoryMapping(44, TorznabCatType.MoviesSD);       // Movies/SD/x264
            AddCategoryMapping(48, TorznabCatType.MoviesHD);       // Movies/x265
            AddCategoryMapping(1, TorznabCatType.MoviesSD);        // Movies/XviD

            AddCategoryMapping(23, TorznabCatType.AudioForeign);   // Music/Non-English
            AddCategoryMapping(41, TorznabCatType.Audio);          // Music/Packs
            AddCategoryMapping(16, TorznabCatType.AudioVideo);     // Music/Video
            AddCategoryMapping(45, TorznabCatType.AudioOther);     // Podcast

            AddCategoryMapping(4, TorznabCatType.PCGames);         // PC/Games
            AddCategoryMapping(18, TorznabCatType.ConsolePS3);     // PS3
            AddCategoryMapping(8, TorznabCatType.ConsolePSP);      // PSP
            AddCategoryMapping(10, TorznabCatType.ConsoleWii);     // Wii
            AddCategoryMapping(9, TorznabCatType.ConsoleXbox360);  // Xbox-360

            AddCategoryMapping(24, TorznabCatType.TVSD);           // TV/480p
            AddCategoryMapping(32, TorznabCatType.TVHD);           // TV/Bluray
            AddCategoryMapping(31, TorznabCatType.TVSD);           // TV/DVD-R
            AddCategoryMapping(33, TorznabCatType.TVSD);           // TV/DVD-Rip
            AddCategoryMapping(46, TorznabCatType.TVSD);           // TV/Mobile
            AddCategoryMapping(14, TorznabCatType.TV);             // TV/Packs
            AddCategoryMapping(26, TorznabCatType.TVSD);           // TV/SD/x264
            AddCategoryMapping(7, TorznabCatType.TVHD);            // TV/x264
            AddCategoryMapping(34, TorznabCatType.TVHD);           // TV/x265
            AddCategoryMapping(2, TorznabCatType.TVSD);            // TV/XviD

            AddCategoryMapping(6, TorznabCatType.XXX);             // XXX/Movies
            AddCategoryMapping(15, TorznabCatType.XXXPacks);       // XXX/Packs
        }
Ejemplo n.º 15
0
        public SceneFZ(IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "SceneFZ",
                   description: "Torrent tracker. Tracking over 50.000 torrent files.",
                   link: "http://scenefz.net/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLogin())
        {
            Encoding = Encoding.UTF8;
            Language = "ro-ro";
            Type     = "private";

            this.configData.Instructions.Value = "The published date is only available if you set \"Torrent Listing\" to Complex is your profile.";

            AddCategoryMapping("mc32", TorznabCatType.Movies);           // Movies
            AddCategoryMapping("scat22", TorznabCatType.MoviesBluRay);   // BluRay
            AddCategoryMapping("scat40", TorznabCatType.MoviesSD);       // Xvid
            AddCategoryMapping("scat41", TorznabCatType.MoviesDVD);      // Dvd
            AddCategoryMapping("scat47", TorznabCatType.MoviesHD);       // HD
            AddCategoryMapping("scat52", TorznabCatType.MoviesDVD);      // DVD-RO
            AddCategoryMapping("scat53", TorznabCatType.MoviesHD);       // HD-RO
            AddCategoryMapping("scat54", TorznabCatType.MoviesBluRay);   // BluRay-RO
            AddCategoryMapping("scat55", TorznabCatType.MoviesSD);       // XVID-RO
            AddCategoryMapping("scat60", TorznabCatType.MoviesOther);    // Sport
            AddCategoryMapping("mc33", TorznabCatType.TV);               // TV
            AddCategoryMapping("scat66", TorznabCatType.TVSD);           // SD
            AddCategoryMapping("scat67", TorznabCatType.TVSD);           // SD-RO
            AddCategoryMapping("scat68", TorznabCatType.TVHD);           // HD
            AddCategoryMapping("scat69", TorznabCatType.TVHD);           // HDTV-RO
            AddCategoryMapping("mc30", TorznabCatType.Console);          // Games
            AddCategoryMapping("scat58", TorznabCatType.ConsolePS3);     // PS2
            AddCategoryMapping("scat16", TorznabCatType.PCGames);        // Pc-Iso
            AddCategoryMapping("scat17", TorznabCatType.Console);        // Misc
            AddCategoryMapping("scat18", TorznabCatType.PCGames);        // Pc-Rip
            AddCategoryMapping("scat19", TorznabCatType.Console);        // Consoles
            AddCategoryMapping("scat57", TorznabCatType.ConsoleXbox360); // Xbox 360
            AddCategoryMapping("scat46", TorznabCatType.Console);        // Oldies
            AddCategoryMapping("scat59", TorznabCatType.ConsolePS3);     // PS3
            AddCategoryMapping("mc31", TorznabCatType.PC);               // Soft
            AddCategoryMapping("scat20", TorznabCatType.PC);             // Pc-Iso
            AddCategoryMapping("scat21", TorznabCatType.PC);             // Misc
            AddCategoryMapping("scat48", TorznabCatType.PCMac);          // Mac OS
            AddCategoryMapping("mc27", TorznabCatType.Audio);            // Music
            AddCategoryMapping("scat8", TorznabCatType.AudioMP3);        // MP3
            AddCategoryMapping("scat45", TorznabCatType.AudioVideo);     // Videoclips
            AddCategoryMapping("scat61", TorznabCatType.AudioLossless);  // FLAC
            AddCategoryMapping("mc35", TorznabCatType.PCPhoneOther);     // Mobile
            AddCategoryMapping("scat44", TorznabCatType.PCPhoneOther);   // Misc
            AddCategoryMapping("scat64", TorznabCatType.PCPhoneIOS);     // iOS
            AddCategoryMapping("scat65", TorznabCatType.PCPhoneAndroid); // Android
            AddCategoryMapping("mc28", TorznabCatType.TVAnime);          // Anime
            AddCategoryMapping("scat13", TorznabCatType.TVAnime);        // Tv-Eps
            AddCategoryMapping("scat12", TorznabCatType.TVAnime);        // Cartoons
            AddCategoryMapping("mc29", TorznabCatType.TVDocumentary);    // Docs
            AddCategoryMapping("scat14", TorznabCatType.Books);          // Books
            AddCategoryMapping("scat15", TorznabCatType.Other);          // Misc
            AddCategoryMapping("mc36", TorznabCatType.PC0day);           // 0Day
            AddCategoryMapping("mc34", TorznabCatType.XXX);              // XXX 18
            AddCategoryMapping("scat33", TorznabCatType.Other);          // Images
            AddCategoryMapping("scat34", TorznabCatType.Other);          // Video
        }
Ejemplo n.º 16
0
        public BitSoup(IIndexerConfigurationService configService, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "BitSoup",
                   description: "SoupieBits",
                   link: "https://www.bitsoup.me/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLogin())
        {
            Encoding = Encoding.UTF8;
            Language = "en-us";
            Type     = "private";

            //AddCategoryMapping("624", TorznabCatType.Console);
            //AddCategoryMapping("307", TorznabCatType.ConsoleNDS);
            //AddCategoryMapping("308", TorznabCatType.ConsolePSP);
            AddCategoryMapping("35", TorznabCatType.ConsoleWii);
            //AddCategoryMapping("309", TorznabCatType.ConsoleXbox);
            AddCategoryMapping("12", TorznabCatType.ConsoleXbox360);
            //AddCategoryMapping("305", TorznabCatType.ConsoleWiiwareVC);
            //AddCategoryMapping("309", TorznabCatType.ConsoleXBOX360DLC);
            AddCategoryMapping("38", TorznabCatType.ConsolePS3);
            //AddCategoryMapping("239", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("245", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("246", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("626", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("628", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("630", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("307", TorznabCatType.Console3DS);
            //AddCategoryMapping("308", TorznabCatType.ConsolePSVita);
            //AddCategoryMapping("307", TorznabCatType.ConsoleWiiU);
            //AddCategoryMapping("309", TorznabCatType.ConsoleXboxOne);
            //AddCategoryMapping("308", TorznabCatType.ConsolePS4);
            //AddCategoryMapping("631", TorznabCatType.Movies);
            //AddCategoryMapping("631", TorznabCatType.MoviesForeign);
            //AddCategoryMapping("455", TorznabCatType.MoviesOther);
            //AddCategoryMapping("633", TorznabCatType.MoviesOther);
            AddCategoryMapping("19", TorznabCatType.MoviesSD);
            AddCategoryMapping("41", TorznabCatType.MoviesHD);
            AddCategoryMapping("17", TorznabCatType.Movies3D);
            AddCategoryMapping("80", TorznabCatType.MoviesBluRay);
            AddCategoryMapping("20", TorznabCatType.MoviesDVD);
            //AddCategoryMapping("631", TorznabCatType.MoviesWEBDL);
            AddCategoryMapping("6", TorznabCatType.Audio);
            //AddCategoryMapping("623", TorznabCatType.AudioMP3);
            AddCategoryMapping("29", TorznabCatType.AudioVideo);
            //AddCategoryMapping("402", TorznabCatType.AudioVideo);
            AddCategoryMapping("5", TorznabCatType.AudioAudiobook);
            //AddCategoryMapping("1", TorznabCatType.AudioLossless);
            //AddCategoryMapping("403", TorznabCatType.AudioOther);
            //AddCategoryMapping("642", TorznabCatType.AudioOther);
            //AddCategoryMapping("1", TorznabCatType.AudioForeign);
            //AddCategoryMapping("233", TorznabCatType.PC);
            //AddCategoryMapping("236", TorznabCatType.PC);
            //AddCategoryMapping("1", TorznabCatType.PC0day);
            AddCategoryMapping("1", TorznabCatType.PCISO);
            //AddCategoryMapping("235", TorznabCatType.PCMac);
            //AddCategoryMapping("627", TorznabCatType.PCPhoneOther);
            AddCategoryMapping("21", TorznabCatType.PCGames);
            AddCategoryMapping("4", TorznabCatType.PCGames);
            //AddCategoryMapping("625", TorznabCatType.PCPhoneIOS);
            //AddCategoryMapping("625", TorznabCatType.PCPhoneAndroid);
            AddCategoryMapping("45", TorznabCatType.TV);
            //AddCategoryMapping("433", TorznabCatType.TV);
            //AddCategoryMapping("639", TorznabCatType.TVWEBDL);
            //AddCategoryMapping("433", TorznabCatType.TVWEBDL);
            //AddCategoryMapping("639", TorznabCatType.TVFOREIGN);
            //AddCategoryMapping("433", TorznabCatType.TVFOREIGN);
            AddCategoryMapping("7", TorznabCatType.TVSD);
            AddCategoryMapping("49", TorznabCatType.TVSD);
            AddCategoryMapping("42", TorznabCatType.TVHD);
            //AddCategoryMapping("433", TorznabCatType.TVHD);
            //AddCategoryMapping("635", TorznabCatType.TVOTHER);
            //AddCategoryMapping("636", TorznabCatType.TVSport);
            AddCategoryMapping("23", TorznabCatType.TVAnime);
            //AddCategoryMapping("634", TorznabCatType.TVDocumentary);
            AddCategoryMapping("9", TorznabCatType.XXX);
            //AddCategoryMapping("1", TorznabCatType.XXXDVD);
            //AddCategoryMapping("1", TorznabCatType.XXXWMV);
            //AddCategoryMapping("1", TorznabCatType.XXXXviD);
            //AddCategoryMapping("1", TorznabCatType.XXXx264);
            //AddCategoryMapping("1", TorznabCatType.XXXOther);
            //AddCategoryMapping("1", TorznabCatType.XXXImageset);
            //AddCategoryMapping("1", TorznabCatType.XXXPacks);
            //AddCategoryMapping("340", TorznabCatType.Other);
            //AddCategoryMapping("342", TorznabCatType.Other);
            //AddCategoryMapping("344", TorznabCatType.Other);
            //AddCategoryMapping("391", TorznabCatType.Other);
            //AddCategoryMapping("392", TorznabCatType.Other);
            //AddCategoryMapping("393", TorznabCatType.Other);
            //AddCategoryMapping("394", TorznabCatType.Other);
            //AddCategoryMapping("234", TorznabCatType.Other);
            //AddCategoryMapping("638", TorznabCatType.Other);
            //AddCategoryMapping("629", TorznabCatType.Other);
            //AddCategoryMapping("1", TorznabCatType.OtherMisc);
            //AddCategoryMapping("1", TorznabCatType.OtherHashed);
            //AddCategoryMapping("408", TorznabCatType.Books);
            AddCategoryMapping("24", TorznabCatType.BooksEbook);
            //AddCategoryMapping("406", TorznabCatType.BooksComics);
            //AddCategoryMapping("407", TorznabCatType.BooksComics);
            //AddCategoryMapping("409", TorznabCatType.BooksComics);
            //AddCategoryMapping("410", TorznabCatType.BooksMagazines);
            //AddCategoryMapping("1", TorznabCatType.BooksTechnical);
            //AddCategoryMapping("1", TorznabCatType.BooksOther);
            //AddCategoryMapping("1", TorznabCatType.BooksForeign);
        }
Ejemplo n.º 17
0
        public TorrentHeaven(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
            : base(name: "TorrentHeaven",
                   description: "A German general tracker.",
                   link: "https://newheaven.nl/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataCaptchaLogin())
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "de-de";
            Type     = "private";

            wc.AddTrustedCertificate(new Uri(SiteLink).Host, "cbf23ac75b07255ad7548a87567a839d23f31576"); // incomplete CA chain

            AddCategoryMapping(1, TorznabCatType.PCGames, "GAMES/PC");
            AddCategoryMapping(3, TorznabCatType.Console, "GAMES/Sonstige");
            AddCategoryMapping(59, TorznabCatType.ConsolePS4, "GAMES/PlayStation");
            AddCategoryMapping(60, TorznabCatType.ConsolePSP, "GAMES/PSP");
            AddCategoryMapping(63, TorznabCatType.ConsoleWii, "GAMES/Wii");
            AddCategoryMapping(67, TorznabCatType.ConsoleXbox360, "GAMES/XBOX 360");
            AddCategoryMapping(68, TorznabCatType.PCPhoneOther, "GAMES/PDA / Handy");
            AddCategoryMapping(72, TorznabCatType.ConsoleNDS, "GAMES/NDS");

            AddCategoryMapping(7, TorznabCatType.MoviesDVD, "MOVIES/DVD");
            AddCategoryMapping(8, TorznabCatType.MoviesSD, "MOVIES/SD");
            AddCategoryMapping(37, TorznabCatType.MoviesDVD, "MOVIES/DVD Spezial");
            AddCategoryMapping(41, TorznabCatType.MoviesForeign, "MOVIES/International");
            AddCategoryMapping(101, TorznabCatType.MoviesHD, "MOVIES/720p");
            AddCategoryMapping(102, TorznabCatType.MoviesHD, "MOVIES/1080p");
            AddCategoryMapping(103, TorznabCatType.MoviesHD, "MOVIES/AVCHD");
            AddCategoryMapping(104, TorznabCatType.MoviesBluRay, "MOVIES/Bluray");
            AddCategoryMapping(106, TorznabCatType.Movies3D, "MOVIES/3D");
            AddCategoryMapping(109, TorznabCatType.MoviesUHD, "MOVIES/4K");

            AddCategoryMapping(14, TorznabCatType.Audio, "AUDIO/Musik");
            AddCategoryMapping(15, TorznabCatType.AudioAudiobook, "AUDIO/Hörbücher");
            AddCategoryMapping(16, TorznabCatType.AudioAudiobook, "AUDIO/Hörspiele");
            AddCategoryMapping(36, TorznabCatType.AudioLossless, "AUDIO/Flac");
            AddCategoryMapping(42, TorznabCatType.AudioOther, "AUDIO/Soundtracks");
            AddCategoryMapping(58, TorznabCatType.AudioVideo, "AUDIO/Musikvideos");

            AddCategoryMapping(18, TorznabCatType.TVSD, "TV/Serien SD");
            AddCategoryMapping(19, TorznabCatType.TVHD, "TV/Serien HD 720p");
            AddCategoryMapping(20, TorznabCatType.TVHD, "TV/Serien HD 1080p");
            AddCategoryMapping(49, TorznabCatType.TVSD, "TV/Serien DVD");
            AddCategoryMapping(51, TorznabCatType.TVDocumentary, "TV/Doku SD");
            AddCategoryMapping(52, TorznabCatType.TVDocumentary, "TV/Doku HD");
            AddCategoryMapping(53, TorznabCatType.TV, "TV/Serien Complete Packs");
            AddCategoryMapping(54, TorznabCatType.TVSport, "TV/Sport");
            AddCategoryMapping(66, TorznabCatType.TVFOREIGN, "TV/International");

            AddCategoryMapping(22, TorznabCatType.Books, "MISC/EBooks");
            AddCategoryMapping(24, TorznabCatType.Other, "MISC/Sonstiges");
            AddCategoryMapping(25, TorznabCatType.Other, "MISC/Tonspuren");
            AddCategoryMapping(108, TorznabCatType.TVAnime, "MISC/Anime");

            AddCategoryMapping(28, TorznabCatType.PC, "APPLICATIONS/PC");
            AddCategoryMapping(29, TorznabCatType.PCPhoneOther, "APPLICATIONS/Mobile");
            AddCategoryMapping(30, TorznabCatType.PC, "APPLICATIONS/Sonstige");
            AddCategoryMapping(70, TorznabCatType.PC, "APPLICATIONS/Linux");
            AddCategoryMapping(71, TorznabCatType.PCMac, "APPLICATIONS/Mac");
        }
Ejemplo n.º 18
0
        public Pier720(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
            : base(name: "720pier",
                   description: "720pier is a RUSSIAN Private Torrent Tracker for HD SPORTS",
                   link: "http://720pier.ru/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
        {
            Encoding = Encoding.UTF8;
            Language = "ru-ru";
            Type     = "private";

            AddCategoryMapping(32, TorznabCatType.TVSport, "Basketball");
            AddCategoryMapping(34, TorznabCatType.TVSport, "Basketball - NBA");
            AddCategoryMapping(87, TorznabCatType.TVSport, "Basketball - NBA Playoffs");
            AddCategoryMapping(81, TorznabCatType.TVSport, "Basketball - NBA Playoffs - 2016");
            AddCategoryMapping(95, TorznabCatType.TVSport, "Basketball - NBA Playoffs - 2017");
            AddCategoryMapping(58, TorznabCatType.TVSport, "Basketball - NBA (до 2015 г.)");
            AddCategoryMapping(52, TorznabCatType.TVSport, "Basketball - NCAA");
            AddCategoryMapping(82, TorznabCatType.TVSport, "Basketball - WNBA");
            AddCategoryMapping(36, TorznabCatType.TVSport, "Basketball - European basketball");
            AddCategoryMapping(37, TorznabCatType.TVSport, "Basketball - World Championship");
            AddCategoryMapping(51, TorznabCatType.TVSport, "Basketball - Reviews and highlights");
            AddCategoryMapping(41, TorznabCatType.TVSport, "Basketball - Other");
            AddCategoryMapping(38, TorznabCatType.TVSport, "Basketball - Olympic Games");

            AddCategoryMapping(42, TorznabCatType.TVSport, "Football");
            AddCategoryMapping(43, TorznabCatType.TVSport, "Football - NFL");
            AddCategoryMapping(66, TorznabCatType.TVSport, "Football - Super Bowls");
            AddCategoryMapping(53, TorznabCatType.TVSport, "Football - NCAA");
            AddCategoryMapping(99, TorznabCatType.TVSport, "Football - CFL");
            AddCategoryMapping(101, TorznabCatType.TVSport, "Football - AAF");
            AddCategoryMapping(54, TorznabCatType.TVSport, "Football - Reviews and highlights");
            AddCategoryMapping(97, TorznabCatType.TVSport, "Football - Documentaries");
            AddCategoryMapping(44, TorznabCatType.TVSport, "Football - Other");

            AddCategoryMapping(46, TorznabCatType.TVSport, "Hockey");
            AddCategoryMapping(48, TorznabCatType.TVSport, "Hockey - NHL");
            AddCategoryMapping(88, TorznabCatType.TVSport, "Hockey - NHL Playoffs");
            AddCategoryMapping(93, TorznabCatType.TVSport, "Hockey - NHL Playoffs - 2017");
            AddCategoryMapping(80, TorznabCatType.TVSport, "Hockey - NHL Playoffs - 2016");
            AddCategoryMapping(65, TorznabCatType.TVSport, "Hockey - Stanley Cup Finals");
            AddCategoryMapping(69, TorznabCatType.TVSport, "Hockey - Stanley Cup Finals - 2005-2014");
            AddCategoryMapping(70, TorznabCatType.TVSport, "Hockey - Stanley Cup Finals - 2003");
            AddCategoryMapping(92, TorznabCatType.TVSport, "Hockey - NCAA");
            AddCategoryMapping(49, TorznabCatType.TVSport, "Hockey - World Championship");
            AddCategoryMapping(68, TorznabCatType.TVSport, "Hockey - Documentaries");
            AddCategoryMapping(64, TorznabCatType.TVSport, "Hockey - Reviews and highlights");
            AddCategoryMapping(50, TorznabCatType.TVSport, "Hockey - Other");

            AddCategoryMapping(55, TorznabCatType.TVSport, "Baseball");
            AddCategoryMapping(71, TorznabCatType.TVSport, "Baseball - MLB");
            AddCategoryMapping(72, TorznabCatType.TVSport, "Baseball - Other");
            AddCategoryMapping(85, TorznabCatType.TVSport, "Baseball - Reviews, highlights, documentaries");

            AddCategoryMapping(59, TorznabCatType.TVSport, "Soccer");
            AddCategoryMapping(61, TorznabCatType.TVSport, "Soccer - English soccer");
            AddCategoryMapping(86, TorznabCatType.TVSport, "Soccer - UEFA");
            AddCategoryMapping(100, TorznabCatType.TVSport, "Soccer - MLS");
            AddCategoryMapping(62, TorznabCatType.TVSport, "Soccer - Other tournaments, championships");
            AddCategoryMapping(63, TorznabCatType.TVSport, "Soccer - World Championships");
            AddCategoryMapping(98, TorznabCatType.TVSport, "Soccer - FIFA World Cup");

            AddCategoryMapping(45, TorznabCatType.TVSport, "Other sports");
            AddCategoryMapping(79, TorznabCatType.TVSport, "Other sports - Rugby");
            AddCategoryMapping(78, TorznabCatType.TVSport, "Other sports - Lacrosse");
            AddCategoryMapping(77, TorznabCatType.TVSport, "Other sports - Cricket");
            AddCategoryMapping(76, TorznabCatType.TVSport, "Other sports - Volleyball");
            AddCategoryMapping(75, TorznabCatType.TVSport, "Other sports - Tennis");
            AddCategoryMapping(74, TorznabCatType.TVSport, "Other sports - Fighting");
            AddCategoryMapping(73, TorznabCatType.TVSport, "Other sports - Auto, moto racing");
            AddCategoryMapping(91, TorznabCatType.TVSport, "Other sports - Olympic Games");
            AddCategoryMapping(94, TorznabCatType.TVSport, "Other sports - Misc");

            AddCategoryMapping(56, TorznabCatType.TVSport, "Sports on tv");
            AddCategoryMapping(30, TorznabCatType.TVSport, "Sports");
        }
Ejemplo n.º 19
0
        protected void Init(string DefinitionString)
        {
            var deserializer = new DeserializerBuilder()
                               .WithNamingConvention(new CamelCaseNamingConvention())
                               .IgnoreUnmatchedProperties()
                               .Build();

            Definition = deserializer.Deserialize <IndexerDefinition>(DefinitionString);

            // Add default data if necessary
            if (Definition.Settings == null)
            {
                Definition.Settings = new List <settingsField>();
            }

            if (Definition.Settings.Count == 0)
            {
                Definition.Settings.Add(new settingsField {
                    Name = "username", Label = "Username", Type = "text"
                });
                Definition.Settings.Add(new settingsField {
                    Name = "password", Label = "Password", Type = "password"
                });
            }

            if (Definition.Encoding == null)
            {
                Definition.Encoding = "iso-8859-1";
            }

            if (Definition.Login != null && Definition.Login.Method == null)
            {
                Definition.Login.Method = "form";
            }

            // init missing mandatory attributes
            DisplayName        = Definition.Name;
            DisplayDescription = Definition.Description;
            SiteLink           = Definition.Links[0]; // TODO: implement alternative links
            if (!SiteLink.EndsWith("/"))
            {
                SiteLink += "/";
            }
            Language    = Definition.Language;
            TorznabCaps = TorznabUtil.CreateDefaultTorznabTVCaps(); // TODO implement caps

            // init config Data
            configData = new ConfigurationData();
            foreach (var Setting in Definition.Settings)
            {
                configData.AddDynamic(Setting.Name, new StringItem {
                    Name = Setting.Label
                });
            }

            foreach (var Category in Definition.Caps.Categories)
            {
                var cat = TorznabCatType.GetCatByName(Category.Value);
                if (cat == null)
                {
                    logger.Error(string.Format("CardigannIndexer ({0}): Can't find a category for {1}", ID, Category.Value));
                    continue;
                }
                AddCategoryMapping(Category.Key, TorznabCatType.GetCatByName(Category.Value));
            }
        }
Ejemplo n.º 20
0
 public TorrentSeeds(IIndexerConfigurationService configService, Utils.Clients.WebClient wc, Logger l, IProtectionService ps) :
     base(id: "torrentseeds",
          name: "TorrentSeeds",
          description: "TorrentSeeds is a Private site for MOVIES / TV / GENERAL",
          link: "https://torrentseeds.org/",
          caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
          configService: configService,
          client: wc,
          logger: l,
          p: ps,
          configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
 {
     Encoding = Encoding.UTF8;
     Language = "en-us";
     Type     = "private";
     AddCategoryMapping(13, TorznabCatType.PC0day, "Apps/0DAY");
     AddCategoryMapping(37, TorznabCatType.TVAnime, "Anime/HD");
     AddCategoryMapping(9, TorznabCatType.TVAnime, "Anime/SD");
     AddCategoryMapping(1, TorznabCatType.PC0day, "Apps");
     AddCategoryMapping(27, TorznabCatType.Books, "APPS/TUTORIALS");
     AddCategoryMapping(32, TorznabCatType.BooksEbook, "EBooks");
     AddCategoryMapping(47, TorznabCatType.ConsoleOther, "Games/NSW");
     AddCategoryMapping(60, TorznabCatType.ConsoleOther, "Games/ATARI");
     AddCategoryMapping(63, TorznabCatType.ConsoleOther, "Games/UPDATES");
     AddCategoryMapping(2, TorznabCatType.PCGames, "Games/PC");
     AddCategoryMapping(8, TorznabCatType.ConsolePS3, "Games/PS3");
     AddCategoryMapping(30, TorznabCatType.ConsolePS4, "Games/PS4");
     AddCategoryMapping(7, TorznabCatType.ConsolePSP, "Games/PSP");
     AddCategoryMapping(16, TorznabCatType.ConsoleWii, "Games/WII");
     AddCategoryMapping(29, TorznabCatType.ConsoleWiiU, "Games/WIIU");
     AddCategoryMapping(17, TorznabCatType.ConsoleXbox360, "Games/XBOX360");
     AddCategoryMapping(50, TorznabCatType.MoviesBluRay, "Movies/Bluray-UHD");
     AddCategoryMapping(31, TorznabCatType.MoviesBluRay, "Movies/COMPLETE-BLURAY");
     AddCategoryMapping(3, TorznabCatType.MoviesDVD, "Movies/DVDR");
     AddCategoryMapping(39, TorznabCatType.MoviesForeign, "Movies/HD-Foreign");
     AddCategoryMapping(62, TorznabCatType.MoviesForeign, "Movies/SD-Foreign");
     AddCategoryMapping(19, TorznabCatType.MoviesHD, "Movies/X264");
     AddCategoryMapping(49, TorznabCatType.MoviesHD, "Movies/X265");
     AddCategoryMapping(25, TorznabCatType.MoviesSD, "Movies/XVID");
     AddCategoryMapping(6, TorznabCatType.XXX, "Movies/XXX");
     AddCategoryMapping(53, TorznabCatType.XXX, "Movies/XXX-HD");
     AddCategoryMapping(57, TorznabCatType.XXX, "Movies/XXX-PAYSITE");
     AddCategoryMapping(55, TorznabCatType.XXX, "Movies/XXX-DVDR");
     AddCategoryMapping(33, TorznabCatType.AudioLossless, "Music/FLAC");
     AddCategoryMapping(28, TorznabCatType.AudioOther, "Music/MBluRay");
     AddCategoryMapping(34, TorznabCatType.AudioOther, "Music/MDVDR");
     AddCategoryMapping(4, TorznabCatType.AudioMP3, "Music/MP3");
     AddCategoryMapping(20, TorznabCatType.AudioVideo, "Music/MVID");
     AddCategoryMapping(38, TorznabCatType.TVAnime, "P2P/ANIME");
     AddCategoryMapping(48, TorznabCatType.PC0day, "P2P/APPS");
     AddCategoryMapping(43, TorznabCatType.MoviesBluRay, "P2P/BLURAY");
     AddCategoryMapping(52, TorznabCatType.MoviesBluRay, "P2P/Bluray-UHD");
     AddCategoryMapping(40, TorznabCatType.MoviesDVD, "P2P/DVDR");
     AddCategoryMapping(46, TorznabCatType.BooksEbook, "P2P/EBOOKS");
     AddCategoryMapping(45, TorznabCatType.PCGames, "P2P/GAMES");
     AddCategoryMapping(42, TorznabCatType.MoviesHD, "P2P/HD-MOVIES");
     AddCategoryMapping(44, TorznabCatType.TVHD, "P2P/TV-HD");
     AddCategoryMapping(51, TorznabCatType.MoviesHD, "P2P/X265");
     AddCategoryMapping(41, TorznabCatType.MoviesSD, "P2P/XVID");
     AddCategoryMapping(35, TorznabCatType.TVSport, "TV/SPORT");
     AddCategoryMapping(36, TorznabCatType.TVSport, "TV/SPORT-HD");
     AddCategoryMapping(11, TorznabCatType.TVHD, "TV/BluRay");
     AddCategoryMapping(23, TorznabCatType.TVSD, "TV/DVDR");
     AddCategoryMapping(24, TorznabCatType.TVSD, "TV/DVDRIP");
     AddCategoryMapping(18, TorznabCatType.TVSD, "TV/SD");
     AddCategoryMapping(26, TorznabCatType.TVHD, "TV/X264");
     AddCategoryMapping(61, TorznabCatType.TVUHD, "TV/2160P");
     AddCategoryMapping(64, TorznabCatType.TVFOREIGN, "TV/X264-FOREIGN");
     AddCategoryMapping(66, TorznabCatType.ConsoleOther, "ARCHIVE/NSW");
     AddCategoryMapping(68, TorznabCatType.Audio, "Music/Packs");
     AddCategoryMapping(67, TorznabCatType.TVHD, "TV-HD/Pack");
     AddCategoryMapping(65, TorznabCatType.TVSD, "TV-SD/Pack");
     AddCategoryMapping(12, TorznabCatType.PCGames, "Games/PC Rips");
 }
Ejemplo n.º 21
0
        public Pretome(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
            : base("PreToMe",
                   description: "BitTorrent site for High Quality, High Definition (HD) movies and TV Shows",
                   link: "https://pretome.info/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   client: wc,
                   configService: configService,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataPinNumber("For best results, change the 'Torrents per page' setting to 100 in 'Profile => Torrent browse settings'."))
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "en-us";
            Type     = "private";

            TorznabCaps.SupportsImdbMovieSearch = true;
            // TorznabCaps.SupportsImdbTVSearch = true; (supported by the site but disabled due to #8107)

            // Unfortunately most of them are tags not categories and they return the parent category
            // we have to re-add the tags with the parent category so the results are not removed with the filtering

            // Applications
            AddCategoryMappingAndParent("cat[]=22", TorznabCatType.PC);
            AddCategoryMappingAndParent("cat[]=22&tags=Windows", TorznabCatType.PC0day, TorznabCatType.PC);
            AddCategoryMappingAndParent("cat[]=22&tags=MAC", TorznabCatType.PCMac, TorznabCatType.PC);
            AddCategoryMappingAndParent("cat[]=22&tags=Linux", TorznabCatType.PC, TorznabCatType.PC);

            // Ebooks
            AddCategoryMappingAndParent("cat[]=27", TorznabCatType.BooksEbook);

            // Games
            AddCategoryMappingAndParent("cat[]=4", TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=PC", TorznabCatType.PCGames, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=RIP", TorznabCatType.PCGames, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=ISO", TorznabCatType.PCGames, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=XBOX360", TorznabCatType.ConsoleXbox360, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=PS3", TorznabCatType.ConsolePS3, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=Wii", TorznabCatType.ConsoleWii, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=PSP", TorznabCatType.ConsolePSP, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=NSD", TorznabCatType.ConsoleNDS, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=XBox", TorznabCatType.ConsoleXbox, TorznabCatType.Console);
            AddCategoryMappingAndParent("cat[]=4&tags=PS2", TorznabCatType.ConsoleOther, TorznabCatType.Console);

            // Miscellaneous
            AddCategoryMappingAndParent("cat[]=31", TorznabCatType.Other);
            AddCategoryMappingAndParent("cat[]=31&tags=Ebook", TorznabCatType.BooksEbook, TorznabCatType.Other);
            AddCategoryMappingAndParent("cat[]=31&tags=RARFiX", TorznabCatType.Other, TorznabCatType.Other);

            // Movies
            AddCategoryMappingAndParent("cat[]=19", TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=x264", TorznabCatType.Movies, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=720p", TorznabCatType.MoviesHD, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=XviD", TorznabCatType.MoviesSD, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=BluRay", TorznabCatType.MoviesHD, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=DVDRiP", TorznabCatType.MoviesSD, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=1080p", TorznabCatType.MoviesHD, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=DVD", TorznabCatType.MoviesSD, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=DVDR", TorznabCatType.MoviesSD, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=WMV", TorznabCatType.Movies, TorznabCatType.Movies);
            AddCategoryMappingAndParent("cat[]=19&tags=CAM", TorznabCatType.Movies, TorznabCatType.Movies);

            // Music
            AddCategoryMappingAndParent("cat[]=6", TorznabCatType.Audio);
            AddCategoryMappingAndParent("cat[]=6&tags=MP3", TorznabCatType.AudioMP3, TorznabCatType.Audio);
            AddCategoryMappingAndParent("cat[]=6&tags=V2", TorznabCatType.AudioMP3, TorznabCatType.Audio);
            AddCategoryMappingAndParent("cat[]=6&tags=FLAC", TorznabCatType.AudioLossless, TorznabCatType.Audio);
            AddCategoryMappingAndParent("cat[]=6&tags=320kbps", TorznabCatType.AudioMP3, TorznabCatType.Audio);

            // TV
            AddCategoryMappingAndParent("cat[]=7", TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=x264", TorznabCatType.TVHD, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=720p", TorznabCatType.TVHD, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=HDTV", TorznabCatType.TVHD, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=XviD", TorznabCatType.TVSD, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=BluRay", TorznabCatType.TVHD, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=DVDRip", TorznabCatType.TVSD, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=DVD", TorznabCatType.TVSD, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=Documentary", TorznabCatType.TVDocumentary, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=PDTV", TorznabCatType.TVSD, TorznabCatType.TV);
            AddCategoryMappingAndParent("cat[]=7&tags=HD-DVD", TorznabCatType.TVSD, TorznabCatType.TV);

            // XXX
            AddCategoryMappingAndParent("cat[]=51", TorznabCatType.XXX);
            AddCategoryMappingAndParent("cat[]=51&tags=XviD", TorznabCatType.XXXXviD, TorznabCatType.XXX);
            AddCategoryMappingAndParent("cat[]=51&tags=DVDRiP", TorznabCatType.XXXDVD, TorznabCatType.XXX);
        }
Ejemplo n.º 22
0
        public RevolutionTT(IIndexerConfigurationService configService, Utils.Clients.WebClient wc, Logger l, IProtectionService ps)
            : base(name: "RevolutionTT",
                   description: "The Revolution has begun",
                   link: "https://revolutiontt.me/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   downloadBase: "https://revolutiontt.me/download.php/",
                   configData: new ConfigurationDataBasicLoginWithRSS())
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "en-us";
            Type     = "private";

            /* Original RevolutionTT Categories -
             *
             *          Anime - 23
             *          Appz/Misc - 22
             *          Appz/PC-ISO - 1
             *          E-Book - 36
             *          Games/PC-ISO - 4
             *          Games/PC-Rips - 21
             *          Games/PS3 - 16
             *          Games/Wii - 40
             *          Games/XBOX360 - 39
             *          Handheld/NDS - 35
             *          Handheld/PSP - 34
             *          Mac	- 2
             *          Movies/BluRay - 10
             *          Movies/DVDR - 20
             *          Movies/HDx264 - 12
             *          Movies/Packs - 44
             *          Movies/SDx264 - 11
             *          Movies/XviD - 19
             *          Music - 6
             *          Music/FLAC - 8
             *          Music/Packs - 46
             *          MusicVideos - 29
             *          TV/DVDR - 43
             *          TV/HDx264 - 42
             *          TV/Packs - 45
             *          TV/SDx264 - 41
             *          TV/XViD - 7
             *
             */

            //AddCategoryMapping("cat_id", TorznabCatType.Console);
            AddCategoryMapping("35", TorznabCatType.ConsoleNDS);
            AddCategoryMapping("34", TorznabCatType.ConsolePSP);
            AddCategoryMapping("40", TorznabCatType.ConsoleWii);
            //AddCategoryMapping("cat_id", TorznabCatType.ConsoleXbox);
            AddCategoryMapping("39", TorznabCatType.ConsoleXbox360);
            //AddCategoryMapping("cat_id", TorznabCatType.ConsoleWiiwareVC);
            //AddCategoryMapping("cat_id", TorznabCatType.ConsoleXBOX360DLC);
            AddCategoryMapping("16", TorznabCatType.ConsolePS3);
            //AddCategoryMapping("cat_id", TorznabCatType.ConsoleOther);
            //AddCategoryMapping("cat_id", TorznabCatType.Console3DS);
            //AddCategoryMapping("cat_id", TorznabCatType.ConsolePSVita);
            AddCategoryMapping("40", TorznabCatType.ConsoleWiiU);
            //AddCategoryMapping("cat_id", TorznabCatType.ConsoleXboxOne);
            //AddCategoryMapping("cat_id", TorznabCatType.ConsolePS4);
            AddCategoryMapping("44", TorznabCatType.Movies);
            //AddCategoryMapping("cat_id", TorznabCatType.MoviesForeign);
            //AddCategoryMapping("cat_id", TorznabCatType.MoviesOther);
            //Movies/DVDR, Movies/SDx264, Movies/XviD
            AddMultiCategoryMapping(TorznabCatType.MoviesSD, 20, 11, 19);
            //Movies/BluRay, Movies/HDx264
            AddMultiCategoryMapping(TorznabCatType.MoviesHD, 10, 12);
            //AddCategoryMapping("cat_id", TorznabCatType.Movies3D);
            AddCategoryMapping("10", TorznabCatType.MoviesBluRay);
            AddCategoryMapping("20", TorznabCatType.MoviesDVD);
            //AddCategoryMapping("cat_id", TorznabCatType.MoviesWEBDL);
            //Music, Music/Packs
            AddMultiCategoryMapping(TorznabCatType.Audio, 6, 46);
            //AddCategoryMapping("cat_id", TorznabCatType.AudioMP3);
            AddCategoryMapping("29", TorznabCatType.AudioVideo);
            //AddCategoryMapping("cat_id", TorznabCatType.AudioAudiobook);
            AddCategoryMapping("8", TorznabCatType.AudioLossless);
            //AddCategoryMapping("cat_id", TorznabCatType.AudioOther);
            //AddCategoryMapping("cat_id", TorznabCatType.AudioForeign);
            AddCategoryMapping("21", TorznabCatType.PC);
            AddCategoryMapping("22", TorznabCatType.PC0day);
            AddCategoryMapping("4", TorznabCatType.PCISO);
            AddCategoryMapping("2", TorznabCatType.PCMac);
            //AddCategoryMapping("cat_id", TorznabCatType.PCPhoneOther);
            //Games/PC-ISO, Games/PC-Rips
            AddMultiCategoryMapping(TorznabCatType.PCGames, 4, 21);
            //AddCategoryMapping("cat_id", TorznabCatType.PCPhoneIOS);
            //AddCategoryMapping("cat_id", TorznabCatType.PCPhoneAndroid);
            AddCategoryMapping("45", TorznabCatType.TV);
            //AddCategoryMapping("cat_id", TorznabCatType.TVWEBDL);
            //AddCategoryMapping("cat_id", TorznabCatType.TVFOREIGN);
            //TV/DVDR, TV/SDx264, TV/XViD
            AddMultiCategoryMapping(TorznabCatType.TVSD, 43, 41, 7);
            AddCategoryMapping("42", TorznabCatType.TVHD);
            //AddCategoryMapping("cat_id", TorznabCatType.TVOTHER);
            //AddCategoryMapping("cat_id", TorznabCatType.TVSport);
            AddCategoryMapping("23", TorznabCatType.TVAnime);
            //AddCategoryMapping("cat_id", TorznabCatType.TVDocumentary);
            //AddCategoryMapping("cat_id", TorznabCatType.XXX);
            //AddCategoryMapping("cat_id", TorznabCatType.XXXDVD);
            //AddCategoryMapping("cat_id", TorznabCatType.XXXWMV);
            //AddCategoryMapping("cat_id", TorznabCatType.XXXXviD);
            //AddCategoryMapping("cat_id", TorznabCatType.XXXx264);
            //AddCategoryMapping("cat_id", TorznabCatType.XXXOther);
            //AddCategoryMapping("cat_id", TorznabCatType.XXXImageset);
            //AddCategoryMapping("cat_id", TorznabCatType.XXXPacks);
            //AddCategoryMapping("cat_id", TorznabCatType.Other);
            //AddCategoryMapping("cat_id", TorznabCatType.OtherMisc);
            //AddCategoryMapping("cat_id", TorznabCatType.OtherHashed);
            AddCategoryMapping("36", TorznabCatType.Books);
            AddCategoryMapping("36", TorznabCatType.BooksEbook);
            //AddCategoryMapping("cat_id", TorznabCatType.BooksComics);
            //AddCategoryMapping("cat_id", TorznabCatType.BooksMagazines);
            //AddCategoryMapping("cat_id", TorznabCatType.BooksTechnical);
            //AddCategoryMapping("cat_id", TorznabCatType.BooksOther);
            //AddCategoryMapping("cat_id", TorznabCatType.BooksForeign);

            // RSS Textual categories
            AddCategoryMapping("Anime", TorznabCatType.TVAnime);
            AddCategoryMapping("Appz/Misc", TorznabCatType.PC0day);
            AddCategoryMapping("Appz/PC-ISO", TorznabCatType.Books);
            AddCategoryMapping("E-Book", TorznabCatType.BooksEbook);
            AddCategoryMapping("Games/PC-ISO", TorznabCatType.PCGames);
            AddCategoryMapping("Games/PC-Rips", TorznabCatType.PCGames);
            AddCategoryMapping("Games/PS3", TorznabCatType.ConsolePS3);
            AddCategoryMapping("Games/Wii", TorznabCatType.ConsoleWii);
            AddCategoryMapping("Games/XBOX360", TorznabCatType.ConsoleXbox360);
            AddCategoryMapping("Handheld/NDS", TorznabCatType.ConsoleNDS);
            AddCategoryMapping("Handheld/PSP", TorznabCatType.ConsolePSP);
            AddCategoryMapping("Mac", TorznabCatType.PCMac);
            AddCategoryMapping("Movies/BluRay", TorznabCatType.MoviesBluRay);
            AddCategoryMapping("Movies/DVDR", TorznabCatType.MoviesDVD);
            AddCategoryMapping("Movies/HDx264", TorznabCatType.MoviesHD);
            AddCategoryMapping("Movies/Packs", TorznabCatType.Movies);
            AddCategoryMapping("Movies/SDx264", TorznabCatType.MoviesSD);
            AddCategoryMapping("Movies/XviD", TorznabCatType.MoviesSD);
            AddCategoryMapping("Music", TorznabCatType.Audio);
            AddCategoryMapping("Music/FLAC", TorznabCatType.AudioLossless);
            AddCategoryMapping("Music/Packs", TorznabCatType.AudioOther);
            AddCategoryMapping("MusicVideos", TorznabCatType.AudioVideo);
            AddCategoryMapping("TV/DVDR", TorznabCatType.TV);
            AddCategoryMapping("TV/HDx264", TorznabCatType.TVHD);
            AddCategoryMapping("TV/Packs", TorznabCatType.TV);
            AddCategoryMapping("TV/SDx264", TorznabCatType.TVSD);
            AddCategoryMapping("TV/XViD", TorznabCatType.TVSD);
        }
Ejemplo n.º 23
0
        public TorrentLeech(IIndexerConfigurationService configService, Utils.Clients.WebClient wc, Logger l, IProtectionService ps)
            : base(name: "TorrentLeech",
                   description: "This is what happens when you seed",
                   link: "https://www.torrentleech.org/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   downloadBase: "https://www.torrentleech.org/download/",
                   configData: new ConfigurationDataBasicLogin("For best results, change the 'Default Number of Torrents per Page' setting to the maximum in your profile on the TorrentLeech webpage."))
        {
            Encoding = Encoding.GetEncoding("iso-8859-1");
            Language = "en-us";
            Type     = "private";

            AddCategoryMapping(8, TorznabCatType.MoviesSD);  // cam
            AddCategoryMapping(9, TorznabCatType.MoviesSD);  //ts
            AddCategoryMapping(10, TorznabCatType.MoviesSD); // Sceener
            AddCategoryMapping(11, TorznabCatType.MoviesSD);
            AddCategoryMapping(12, TorznabCatType.MoviesSD);
            AddCategoryMapping(13, TorznabCatType.MoviesHD);
            AddCategoryMapping(14, TorznabCatType.MoviesHD);
            AddCategoryMapping(15, TorznabCatType.Movies); // Boxsets
            AddCategoryMapping(29, TorznabCatType.TVDocumentary);
            AddCategoryMapping(41, TorznabCatType.MoviesHD, "4K Upscaled");
            AddCategoryMapping(47, TorznabCatType.MoviesHD, "Real 4K UltraHD HDR");
            AddCategoryMapping(36, TorznabCatType.MoviesForeign);
            AddCategoryMapping(37, TorznabCatType.MoviesWEBDL);
            AddCategoryMapping(43, TorznabCatType.MoviesSD, "Movies/HDRip");

            AddCategoryMapping(26, TorznabCatType.TVSD);
            AddCategoryMapping(27, TorznabCatType.TV); // Boxsets
            AddCategoryMapping(32, TorznabCatType.TVHD);
            AddCategoryMapping(44, TorznabCatType.TVFOREIGN, "TV/Foreign");

            AddCategoryMapping(17, TorznabCatType.PCGames);
            AddCategoryMapping(18, TorznabCatType.ConsoleXbox);
            AddCategoryMapping(19, TorznabCatType.ConsoleXbox360);
            AddCategoryMapping(40, TorznabCatType.ConsoleXbox, "Games/XBOXONE");
            AddCategoryMapping(20, TorznabCatType.ConsolePS3); // PS2
            AddCategoryMapping(21, TorznabCatType.ConsolePS3);
            AddCategoryMapping(22, TorznabCatType.ConsolePSP);
            AddCategoryMapping(28, TorznabCatType.ConsoleWii);
            AddCategoryMapping(30, TorznabCatType.ConsoleNDS);
            AddCategoryMapping(39, TorznabCatType.ConsolePS4);
            AddCategoryMapping(42, TorznabCatType.PCMac, "Games/Mac");

            AddCategoryMapping(16, TorznabCatType.AudioVideo);
            AddCategoryMapping(31, TorznabCatType.Audio);

            AddCategoryMapping(34, TorznabCatType.TVAnime);
            AddCategoryMapping(35, TorznabCatType.TV); // Cartoons

            AddCategoryMapping(5, TorznabCatType.Books);
            AddCategoryMapping(45, TorznabCatType.BooksEbook, "Books/EBooks");
            AddCategoryMapping(46, TorznabCatType.BooksComics, "Books/Comics");

            AddCategoryMapping(23, TorznabCatType.PCISO);
            AddCategoryMapping(24, TorznabCatType.PCMac);
            AddCategoryMapping(25, TorznabCatType.PCPhoneOther);
            AddCategoryMapping(33, TorznabCatType.PC0day);

            AddCategoryMapping(38, TorznabCatType.Other, "Education");
        }
Ejemplo n.º 24
0
        public TorrentDay(IIndexerConfigurationService configService, IWebClient wc, Logger l, IProtectionService ps)
            : base(name: "TorrentDay",
                   description: "TorrentDay",
                   link: "https://torrentday.it/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   configService: configService,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataRecaptchaLogin())
        {
            Encoding = Encoding.GetEncoding("UTF-8");
            Language = "en-us";
            Type     = "private";

            TorznabCaps.SupportsImdbSearch = true;

            AddCategoryMapping(29, TorznabCatType.TVAnime);        // Anime
            AddCategoryMapping(28, TorznabCatType.PC);             // Appz/Packs
            AddCategoryMapping(42, TorznabCatType.AudioAudiobook); // Audio Books
            AddCategoryMapping(20, TorznabCatType.Books);          // Books
            AddCategoryMapping(30, TorznabCatType.TVDocumentary);  // Documentary
            AddCategoryMapping(47, TorznabCatType.Other);          // Fonts
            AddCategoryMapping(43, TorznabCatType.PCMac);          // Mac

            AddCategoryMapping(25, TorznabCatType.MoviesSD);       // Movies/480p
            AddCategoryMapping(11, TorznabCatType.MoviesBluRay);   // Movies/Bluray
            AddCategoryMapping(5, TorznabCatType.MoviesBluRay);    // Movies/Bluray-Full
            AddCategoryMapping(3, TorznabCatType.MoviesDVD);       // Movies/DVD-R
            AddCategoryMapping(21, TorznabCatType.MoviesSD);       // Movies/MP4
            AddCategoryMapping(22, TorznabCatType.MoviesForeign);  // Movies/Non-English
            AddCategoryMapping(13, TorznabCatType.Movies);         // Movies/Packs
            AddCategoryMapping(44, TorznabCatType.MoviesSD);       // Movies/SD/x264
            AddCategoryMapping(48, TorznabCatType.MoviesHD);       // Movies/x265
            AddCategoryMapping(1, TorznabCatType.MoviesSD);        // Movies/XviD

            AddCategoryMapping(23, TorznabCatType.AudioForeign);   // Music/Non-English
            AddCategoryMapping(41, TorznabCatType.Audio);          // Music/Packs
            AddCategoryMapping(16, TorznabCatType.AudioVideo);     // Music/Video
            AddCategoryMapping(45, TorznabCatType.AudioOther);     // Podcast

            AddCategoryMapping(4, TorznabCatType.PCGames);         // PC/Games
            AddCategoryMapping(18, TorznabCatType.ConsolePS3);     // PS3
            AddCategoryMapping(8, TorznabCatType.ConsolePSP);      // PSP
            AddCategoryMapping(10, TorznabCatType.ConsoleWii);     // Wii
            AddCategoryMapping(9, TorznabCatType.ConsoleXbox360);  // Xbox-360

            AddCategoryMapping(24, TorznabCatType.TVSD);           // TV/480p
            AddCategoryMapping(32, TorznabCatType.TVHD);           // TV/Bluray
            AddCategoryMapping(31, TorznabCatType.TVSD);           // TV/DVD-R
            AddCategoryMapping(33, TorznabCatType.TVSD);           // TV/DVD-Rip
            AddCategoryMapping(46, TorznabCatType.TVSD);           // TV/Mobile
            AddCategoryMapping(14, TorznabCatType.TV);             // TV/Packs
            AddCategoryMapping(26, TorznabCatType.TVSD);           // TV/SD/x264
            AddCategoryMapping(7, TorznabCatType.TVHD);            // TV/x264
            AddCategoryMapping(34, TorznabCatType.TVHD);           // TV/x265
            AddCategoryMapping(2, TorznabCatType.TVSD);            // TV/XviD

            AddCategoryMapping(6, TorznabCatType.XXX);             // XXX/Movies
            AddCategoryMapping(15, TorznabCatType.XXXPacks);       // XXX/Packs
        }
Ejemplo n.º 25
0
        public T411(IIndexerManagerService i, Logger l, IWebClient wc, IProtectionService ps)
            : base(name: "T411",
                   description: "French Torrent Tracker",
                   link: "http://www.t411.ch/",
                   caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
                   manager: i,
                   client: wc,
                   logger: l,
                   p: ps,
                   configData: new ConfigurationDataLoginTokin())
        {
            CommentsUrl  = SiteLink + "/torrents/{0}";
            IsConfigured = false;
            handler      = new HttpClientHandler
            {
                AllowAutoRedirect = true
            };
            client = new HttpClient(handler);



            AddCategoryMapping("Film\\/Vidéo", TorznabCatType.Movies);
            AddCategoryMapping("Vidéo-clips", TorznabCatType.Other);
            AddCategoryMapping("Série TV", TorznabCatType.TV);
            AddCategoryMapping("Animation", TorznabCatType.TVAnime);
            AddCategoryMapping("Film", TorznabCatType.Movies);
            AddCategoryMapping("Concert", TorznabCatType.AudioVideo);
            AddCategoryMapping("Documentaire", TorznabCatType.Audio);
            AddCategoryMapping("Spectacle", TorznabCatType.TV);
            AddCategoryMapping("Sport", TorznabCatType.TVSport);
            AddCategoryMapping("Animation Série", TorznabCatType.TVAnime);
            AddCategoryMapping("Emission TV", TorznabCatType.TV);


            AddCategoryMapping("Application", TorznabCatType.PC0day);
            AddCategoryMapping("Linux", TorznabCatType.PC);
            AddCategoryMapping("MacOS", TorznabCatType.PCMac);
            AddCategoryMapping("Windows", TorznabCatType.PC);
            AddCategoryMapping("Smartphone", TorznabCatType.PCPhoneOther);
            AddCategoryMapping("Tablette", TorznabCatType.PCPhoneOther);
            AddCategoryMapping("Autre", TorznabCatType.PC);
            AddCategoryMapping("Formation", TorznabCatType.PC);

            AddCategoryMapping("Emulation", TorznabCatType.PC);
            AddCategoryMapping("Emulateurs", TorznabCatType.PC);
            AddCategoryMapping("Roms", TorznabCatType.PC);

            AddCategoryMapping("GPS", TorznabCatType.Other);
            AddCategoryMapping("Applications", TorznabCatType.Other);
            AddCategoryMapping("Cartes", TorznabCatType.Other);
            AddCategoryMapping("Divers", TorznabCatType.Other);

            AddCategoryMapping("Audio", TorznabCatType.Audio);
            AddCategoryMapping("Karaoke", TorznabCatType.Audio);
            AddCategoryMapping("Samples", TorznabCatType.Audio);
            AddCategoryMapping("Musique", TorznabCatType.Audio);
            AddCategoryMapping("Podcast Radio", TorznabCatType.Audio);

            AddCategoryMapping("eBook", TorznabCatType.BooksEbook);
            AddCategoryMapping("Audio", TorznabCatType.AudioAudiobook);
            AddCategoryMapping("Bds", TorznabCatType.AudioVideo);
            AddCategoryMapping("Comics", TorznabCatType.BooksComics);
            AddCategoryMapping("Livres", TorznabCatType.Books);
            AddCategoryMapping("Mangas", TorznabCatType.BooksForeign);
            AddCategoryMapping("Presse", TorznabCatType.BooksMagazines);

            AddCategoryMapping("xXx", TorznabCatType.XXX);
            AddCategoryMapping("eBooks", TorznabCatType.XXXImageset);
            AddCategoryMapping("Jeux vidéo", TorznabCatType.XXX);
            AddCategoryMapping("Video", TorznabCatType.XXXDVD);
            //AddCategoryMapping("Animation", TorznabCatType.XXX); Used above :/

            AddCategoryMapping("Jeu vidéo", TorznabCatType.PCGames);
            AddCategoryMapping("Linux", TorznabCatType.PCGames);
            AddCategoryMapping("MacOS", TorznabCatType.PCGames);
            // AddCategoryMapping("Windows", TorznabCatType.PCGames); Used above :/
            AddCategoryMapping("Nintendo", TorznabCatType.Console);
            AddCategoryMapping("Sony", TorznabCatType.Console);
            AddCategoryMapping("Microsoft", TorznabCatType.PCGames);
            AddCategoryMapping("Smartphone", TorznabCatType.PCPhoneOther);
            AddCategoryMapping("Tablette", TorznabCatType.PCPhoneOther);
            AddCategoryMapping("Autre", TorznabCatType.Other);

            AddCategoryMapping("Jeux vidéo", TorznabCatType.Other);
        }