From 1f8b543e5b8b7e61a18bd5f22fd69f9561eddfce Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Tue, 14 Sep 2021 15:16:11 +0200 Subject: [PATCH] enable only non anime pt providers --- addon/lib/filter.js | 11 ----------- scraper/scheduler/scrapers.js | 19 +++++++++---------- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/addon/lib/filter.js b/addon/lib/filter.js index 265311b..47ba88b 100644 --- a/addon/lib/filter.js +++ b/addon/lib/filter.js @@ -49,12 +49,6 @@ const Providers = { label: 'NyaaPantsu', anime: true }, - { - key: 'animestorrent', - label: 'AnimesTorrent', - anime: true, - foreign: true - }, { key: 'comando', label: 'Comando', @@ -65,11 +59,6 @@ const Providers = { label: 'ComoEuBaixo', foreign: true }, - { - key: 'darkmahou', - label: 'DarkMahou', - foreign: true - }, { key: 'lapumia', label: 'Lapumia', diff --git a/scraper/scheduler/scrapers.js b/scraper/scheduler/scrapers.js index bd23856..4d76734 100644 --- a/scraper/scheduler/scrapers.js +++ b/scraper/scheduler/scrapers.js @@ -9,13 +9,12 @@ const nyaaPantsuScraper = require('../scrapers/nyaapantsu/nyaa_pantsu_scraper'); const nyaaSiScraper = require('../scrapers/nyaasi/nyaa_si_scraper'); const torrentGalaxyScraper = require('../scrapers/torrentgalaxy/torrentgalaxy_scraper'); const rutorScraper = require('../scrapers/rutor/rutor_scraper'); -const AnimesTorrent = require('../scrapers/animestorrent/animestorrent_scraper') -const Comando = require('../scrapers/comando/comando_scraper') +const Comando = require('../scrapers/comando/comando_scraper') const ComoEuBaixo = require('../scrapers/comoeubaixo/comoeubaixo_scraper') -const DarkMahou = require('../scrapers/darkmahou/darkmahou_scraper') const Lapumia = require('../scrapers/lapumia/lapumia_scraper') const OndeBaixa = require('../scrapers/ondebaixa/ondebaixa_scraper'); - +const AnimesTorrent = require('../scrapers/animestorrent/animestorrent_scraper') +const DarkMahou = require('../scrapers/darkmahou/darkmahou_scraper') module.exports = [ { scraper: ytsScraper, name: ytsScraper.NAME, cron: '0 0 */4 ? * *' }, @@ -29,16 +28,16 @@ module.exports = [ { scraper: torrentGalaxyScraper, name: torrentGalaxyScraper.NAME, cron: '0 0 */4 ? * *' }, { scraper: leetxScraper, name: leetxScraper.NAME, cron: '0 0 */4 ? * *' }, // { scraper: kickassScraper, name: kickassScraper.NAME, cron: '0 0 */4 ? * *' }, + { scraper: Comando, name: Comando.NAME, cron: '0 0 */4 ? * *' }, + { scraper: ComoEuBaixo, name: ComoEuBaixo.NAME, cron: '0 0 */4 ? * *' }, + { scraper: Lapumia, name: Lapumia.NAME, cron: '0 0 */4 ? * *' }, + { scraper: OndeBaixa, name: OndeBaixa.NAME, cron: '0 0 */4 ? * *' }, + // { scraper: AnimesTorrent, name: AnimesTorrent.NAME, cron: '0 0 */4 ? * *' }, + // { scraper: DarkMahou, name: DarkMahou.NAME, cron: '0 0 */4 ? * *' }, // { scraper: require('../scrapers/rarbg/rarbg_dump_scraper') } // { scraper: require('../scrapers/1337x/1337x_search_scraper') } // { scraper: require('../scrapers/rarbg/rarbg_dump_scraper') } // { scraper: require('../scrapers/thepiratebay/thepiratebay_dump_scraper') } // { scraper: require('../scrapers/thepiratebay/thepiratebay_unofficial_dump_scraper') } // { scraper: require('../scrapers/thepiratebay/thepiratebay_update_size_scraper') } - // { scraper: AnimesTorrent, name: AnimesTorrent.NAME, cron: '0 0 */4 ? * *' }, - { scraper: Comando, name: Comando.NAME, cron: '0 0 */4 ? * *' }, - { scraper: ComoEuBaixo, name: ComoEuBaixo.NAME, cron: '0 0 */4 ? * *' }, - { scraper: DarkMahou, name: DarkMahou.NAME, cron: '0 0 */4 ? * *' }, - { scraper: Lapumia, name: Lapumia.NAME, cron: '0 0 */4 ? * *' }, - { scraper: OndeBaixa, name: OndeBaixa.NAME, cron: '0 0 */4 ? * *' }, ];