diff --git a/README.md b/README.md index 5a46db489..a4ed6be1f 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * TorrentKitty * TorrentParadise * TorrentProject2 - * TorrentRex * TorrentQuest * Torrents.csv * Torrentv diff --git a/src/Jackett.Common/Definitions/torrentrex.yml b/src/Jackett.Common/Definitions/torrentrex.yml deleted file mode 100644 index 2c69f9ad2..000000000 --- a/src/Jackett.Common/Definitions/torrentrex.yml +++ /dev/null @@ -1,88 +0,0 @@ ---- - site: torrentrex - name: TorrentRex - description: "TorrentRex is a Public search engine." - language: en-us - type: public - encoding: UTF-8 - links: - - https://torrentrex.com/ - - caps: - categories: - "anime": TV/Anime - "applications": PC - "ebooks": Books - "adult": XXX - "games": PC/Games - "movies": Movies - "music": Audio - "others": Other - "tv-series": TV - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - - settings: [] - - search: - paths: - - path: search.php - inputs: - q: "{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}" - - rows: - selector: div.r_wr - - fields: - category: - selector: a.rslt_h2_a - attribute: href - filters: - - name: split - args: ["/", 1] - title: - selector: a.rslt_h2_a - details: - selector: a.rslt_h2_a - attribute: href - download: - selector: a[href*="/torrent/"] - attribute: href - magfile: - text: "{{ .Result.title }}" - filters: - - name: validfilename - magnet: - selector: a[href*="/torrent/"] - attribute: href - filters: - - name: split - args: ["/", 4] - - name: replace - args: [".torrent", ""] - - name: prepend - args: "magnet:?xt=urn:btih:" - - name: append - args: "&dn={{ .Result.magfile }}.torrent&tr=udp://tracker.coppersurfer.tk:6969&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://tracker.opentrackr.org:1337" - date: - text: now - size: - text: "500 MB" - seeders: - selector: span:nth-of-type(2) - filters: - - name: regexp - args: (\d+) - leechers: - selector: span:nth-of-type(3) - filters: - - name: regexp - args: (\d+) - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 22a107b49..89dc972b9 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -372,6 +372,7 @@ namespace Jackett.Updater "Definitions/torrentcouch.yml", "Definitions/torrentkim.yml", "Definitions/torrentproject.yml", + "Definitions/torrentrex.yml", "Definitions/torrentseeds.yml", // migrated to c# "Definitions/torrentsmd.yml", "Definitions/torrentvault.yml",