From 04fc90e85e8979be5e412ac937863ab5929a9851 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 27 Oct 2020 16:13:40 +1300 Subject: [PATCH] topnow: yml removed. awating C# replacement. #8199 --- README.md | 1 - src/Jackett.Common/Definitions/topnow.yml | 81 ----------------------- src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 82 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/topnow.yml diff --git a/README.md b/README.md index 471fce885..1c29f8136 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * sukebei.Nyaa.si * The Pirate Bay (TPB) * Tokyo Tosho - * TopNow * Torlock * TOROS * Torrent Bomb (토렌트봄) diff --git a/src/Jackett.Common/Definitions/topnow.yml b/src/Jackett.Common/Definitions/topnow.yml deleted file mode 100644 index 0369d1acc..000000000 --- a/src/Jackett.Common/Definitions/topnow.yml +++ /dev/null @@ -1,81 +0,0 @@ ---- -id: topnow -name: TopNow -description: "TopNow is a Public torrent site for TV / MOVIES" -language: en-us -type: public -encoding: UTF-8 -links: - - https://topnow.se/ -legacylinks: - - http://topnow.se/ - -caps: - categories: - tv: TV - movies: Movies - other: Other - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - -settings: - - name: category-id - type: select - label: The TopNow web site does not provide categories. Select the category you want Jackett to set on all results returned. - default: other - options: - tv: TV - movies: Movies - other: Other - -search: - paths: - # https://topnow.se/index.php?search= - - path: "index.php{{if .Keywords}}?search={{ .Keywords }}{{else}}{{end}}" - keywordsfilters: - # the site uses % for wildcard - - name: re_replace - args: ["[^a-zA-Z0-9]+", "%"] - - rows: - # old cards do not have a download link - selector: div.grid-item:has(a[href^="/download.php?torrent="]) - filters: - - name: andmatch - - fields: - category: - text: "{{ .Config.category-id }}" - title: - selector: h2.titles - details: - # new cards do not have details page links - text: / - download: - selector: a[href^="/download.php?torrent="] - attribute: href - banner: - selector: img - attribute: src - optional: true - description: - selector: .card_overlay - filters: - - name: regexp - args: "Quality: (.+?)$" - date: - text: now - size: - text: "512 MB" - seeders: - text: 1 - leechers: - text: 1 - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# Engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index e8a59e213..965b50592 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -390,6 +390,7 @@ namespace Jackett.Updater "Definitions/thepiratebay.yml", // migrated to c# "Definitions/tigers-dl.yml", "Definitions/tntvillage.yml", + "Definitions/topnow.yml", "Definitions/torrentcouch.yml", "Definitions/torrenthane.yml", "Definitions/torrentkim.yml",