diff --git a/README.md b/README.md index b46a28205..c6f8ca594 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Tokyo Tosho * Torlock * Torlook - * TOROS * Torrent Downloads (TD) * Torrent Oyun indir * torrent.by diff --git a/src/Jackett.Common/Definitions/toros.yml b/src/Jackett.Common/Definitions/toros.yml deleted file mode 100644 index e6751c27f..000000000 --- a/src/Jackett.Common/Definitions/toros.yml +++ /dev/null @@ -1,118 +0,0 @@ ---- -id: toros -name: TOROS -description: "TOROS is a Public torrent index" -language: en-US -type: public -encoding: UTF-8 -links: - - https://www.toros.co/ - - https://toros.nocensor.biz/ -legacylinks: - - https://toros.nocensor.space/ - - https://toros.nocensor.work/ - -caps: - categorymappings: - - {id: 1, cat: Movies, desc: Movies} - - {id: 2, cat: Audio, desc: Music} - - {id: 3, cat: TV, desc: Television} - - {id: 4, cat: PC/Games, desc: Games} - - {id: 5, cat: PC, desc: Software} - - {id: 6, cat: TV/Anime, desc: Anime} - - {id: 7, cat: XXX, desc: Adult} - - {id: 8, cat: Books, desc: Ebooks} - - {id: 9, cat: TV/Anime, desc: Animation} - - {id: 10, cat: Other, desc: Other} - - {id: 0, cat: Other, desc: TBC} - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - music-search: [q] - book-search: [q] - -settings: - - name: sort - type: select - label: Sort requested from site - default: added - options: - added: created - seeds: seeders - size: size - name: title - - name: type - type: select - label: Order requested from site - default: desc - options: - desc: desc - asc: asc - -download: - selectors: - - selector: a[href^="magnet:?xt="] - attribute: href - -search: - paths: - # https://www.toros.co/all/torrents/capital-hill.html?v=&smi=&sma=&i=100&sort=added&o=desc - - path: "{{ if .Keywords }}all/torrents/{{ .Keywords }}.html?v=&smi=&sma=&i=100&sort={{ .Config.sort }}&o={{ .Config.type }}{{ else }}top100.html{{ end }}" - keywordsfilters: - - name: re_replace - args: ["[\\s]+", "-"] - - name: tolower - - rows: - selector: table.table-responsive tr:has(a[href^="/torrent/"]) - filters: - - name: andmatch - - fields: - category: - selector: td:nth-child(1) - attribute: class - filters: - - name: regexp - args: (\d+) - title: - selector: a[href^="/torrent/"] - details: - selector: a[href^="/torrent/"] - attribute: href - download: - selector: a[href^="/torrent/"] - attribute: href - date_day: - selector: td:nth-child(2):contains("day") - optional: true - filters: - - name: fuzzytime - date_ago: - selector: td:nth-child(2):contains("ago") - optional: true - filters: - - name: timeago - date_year: - selector: td:nth-child(2):not(:contains("ago")):not(:contains("day")) - optional: true - filters: - - name: append - args: " +01:00" # CET - - name: dateparse - args: "2 Jan -07:00" - date: - text: "{{ if or .Result.date_year .Result.date_ago .Result.date_day }}{{ or .Result.date_year .Result.date_ago .Result.date_day }}{{ else }}now{{ end }}" - size: - selector: td:nth-child(3) - seeders: - selector: td:nth-child(4) - leechers: - selector: td:nth-child(5) - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 684745dd6..64316e69f 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -492,6 +492,7 @@ namespace Jackett.Updater "Definitions/tntfork.yml", "Definitions/tntvillage.yml", "Definitions/topnow.yml", + "Definitions/toros.yml", "Definitions/torrent-paradise-ml.yml", "Definitions/torrent4you.yml", "Definitions/torrentbomb.yml",