From 42e6600c6acc429873560d06f99bb213e5f96938 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Tue, 31 Jul 2018 11:00:34 +0200 Subject: [PATCH] NextTorrent: removed (dead) --- README.md | 1 - .../Definitions/nexttorrent.yml | 90 ------------------- src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 91 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/nexttorrent.yml diff --git a/README.md b/README.md index a6ecc3563..9b9ab270e 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * LimeTorrents * MagnetDL * MejorTorrent - * NextTorrent * Newpct (aka: tvsinpagar, descargas2020, torrentlocura, torrentrapid, etc) * Nyaa.si * Nyaa-Pantsu diff --git a/src/Jackett.Common/Definitions/nexttorrent.yml b/src/Jackett.Common/Definitions/nexttorrent.yml deleted file mode 100644 index d9dfd4e26..000000000 --- a/src/Jackett.Common/Definitions/nexttorrent.yml +++ /dev/null @@ -1,90 +0,0 @@ ---- - site: nexttorrent - name: NextTorrent - description: "NextTorrent is a FRENCH Public site for TV / MOVIES / GENERAL" - language: fr-fr - type: public - encoding: UTF-8 - links: - - http://www.nextorrent.tv/ - legacylinks: - - https://www.nextorrent.site/ - - http://www.nextorrent.site/ - - http://www.nextorrent.bz/ - - http://www.nextorrent.pro/ - - https://www.nextorrent.cc/ - - https://www.nextorrent.org/ - - https://www.nextorrent.tv/ - - caps: - categorymappings: - - {id: Films, cat: Movies, desc: "Movies"} - - {id: Séries, cat: TV, desc: "TV"} - - {id: Jeux-PC, cat: PC/Games, desc: "Games PC"} - - {id: Jeux-Consoles, cat: Console, desc: "Games Console"} - - {id: Musique, cat: Audio, desc: "Music"} - - {id: Ebook, cat: Books, desc: "EBooks"} - - {id: Logiciels, cat: PC, desc: "Software"} - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - - settings: [] - - download: - selector: a[href^="/get_torrent/"] - - search: - paths: - - path: "recherche/{{ .Query.Keywords }}" - rows: - selector: div.listing-torrent > table tbody tr:has(a) - fields: - site_date: - selector: td:nth-child(1) a - filters: - # date is at the end of the title, so we get it and name it site_date - - name: regexp - args: "(\\w+)$" - title: - selector: td:nth-child(1) a - filters: - # now we put the date at the right place according scene naming rules using .Result.site_date - - name: replace - args: ["FRENCH", "{{ .Result.site_date }} FRENCH"] - - name: replace - args: ["TRUEFRENCH", "{{ .Result.site_date }} TRUEFRENCH"] - - name: replace - args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"] - # and we delete it at the end - - name: re_replace - args: ["(\\w+)$", ""] - details: - selector: td:nth-child(1) a - attribute: href - download: - selector: td:nth-child(1) a - attribute: href - category: - selector: td:nth-child(1) i - attribute: class - size: - selector: td:nth-child(2) - date: - text: now - seeders: - text: 0 - seeders: - optional: true - selector: td:nth-child(3) - leechers: - text: 0 - leechers: - optional: true - selector: td:nth-child(4) - downloadvolumefactor: - text: "0" - uploadvolumefactor: - text: "1" diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index a8419e91f..fb196c48d 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -232,6 +232,7 @@ namespace Jackett.Updater "Definitions/tehconnection.yml", "Definitions/torrentwtf.yml", "Definitions/eotforum.yml", + "Definitions/nexttorrent.yml", }; foreach (var oldFile in oldFiles)