From 5ec8045fe050f72dd41a1c68edf91da6847f365a Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 13 Mar 2019 08:33:01 +1300 Subject: [PATCH] delete torrof --- README.md | 1 - src/Jackett.Common/Definitions/torrof.yml | 117 ---------------------- src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 118 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/torrof.yml diff --git a/README.md b/README.md index 8ea4bbb15..2e28e88af 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Torrent9 * Torernt9 clone (torrents9.ch) * Torrentz2 - * Torrof (Torrentoff) * World Wide Torrents * YTS.ag * Zooqle diff --git a/src/Jackett.Common/Definitions/torrof.yml b/src/Jackett.Common/Definitions/torrof.yml deleted file mode 100644 index eb91ac3b9..000000000 --- a/src/Jackett.Common/Definitions/torrof.yml +++ /dev/null @@ -1,117 +0,0 @@ ---- - site: torrof - name: Torrof - description: "Torrof (Torrentoff) is meta-search engine for torrents" - language: en-us - type: public - encoding: UTF-8 - links: - - http://www.torrof.com/ - - caps: - categories: - "Software": PC - "Book": Books - "Video": Movies - "Music": Audio - "Other": Other - "Picture": Other/Misc - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - - settings: - - name: category - type: select - label: Category - default: "_" - options: - "_": "All" - "Book": "Book" - "Music": "Music" - "Other": "Other" - "Picture": "Picture" - "Software": "Software" - "Video": "Video" - - name: verified - type: select - label: Verified - default: "_" - options: - "_": "Any" - "1": "Verified Only" - - name: sort - type: select - label: Sort - default: "_" - options: - "_": "Default" - "creation_date desc": "Age desc" - "creation_date asc": "Age asc" - "total_size desc": "Size desc" - "total_size asc": "Size asc" - - download: - selector: section.file-info a:nth-child(2) - - search: - paths: - - path: "{{if .Keywords}}{{.Keywords}}{{else}}test{{end}}" - method: post - inputs: - # torrof does not support trending/latest/new pages - text: "{{if .Keywords}}{{.Keywords}}{{else}}test{{end}}" - size: "0:inf" - date: "0:inf" - verified_only: "{{ re_replace .Config.verified \"_\" \"\" }}" - category: "{{ re_replace .Config.category \"_\" \"\" }}" - tags: "" - mode: "titles" - sort: "{{ re_replace .Config.sort \"_\" \"\" }}" - page: "0" - - rows: - # ignore adverts - selector: tr:has(a[href^="/view/"]) - filters: - # torrof uses fuzzy search logic - - name: andmatch - - fields: - title: - selector: td:nth-child(2) a:nth-child(1) - category: - selector: td:nth-child(1) span - attribute: title - filters: - # grab first word - - name: split - args: [" ", 0] - details: - selector: td:nth-child(2) a:nth-child(1) - attribute: href - download: - selector: td:nth-child(2) a:nth-child(1) - attribute: href - date: - selector: td:nth-child(4) - filters: - - name: dateparse - args: "Jan 2006" - size: - selector: td:nth-child(3) span:nth-child(1) - files: - selector: td:nth-child(3) span:nth-last-child(1) - filters: - - name: replace - args: [" Files", ""] - seeders: - text: "1" - leechers: - text: "1" - downloadvolumefactor: - text: "0" - uploadvolumefactor: - text: "1" diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index bd6ef283b..4f65d8091 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -290,6 +290,7 @@ namespace Jackett.Updater "Definitions/btdb.yml", "Definitions/torrentcouch.yml", "Definitions/idopeclone.yml", + "Definitions/torrof.yml", }; foreach (var oldFile in oldFiles)