diff --git a/README.md b/README.md index d179ba810..6523e4499 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * NoName Club (NNM-Club) * RockBox * RuTracker + * Sharewood * SkTorrent * Union Fansub * Vanila diff --git a/src/Jackett.Common/Definitions/sharewood.yml b/src/Jackett.Common/Definitions/sharewood.yml new file mode 100644 index 000000000..9bd771611 --- /dev/null +++ b/src/Jackett.Common/Definitions/sharewood.yml @@ -0,0 +1,102 @@ +--- + site: sharewood + name: Sharewood + description: "sharewood is a Semi-Private FRENCH Torrent Tracker for GENERAL" + language: fr-fr + type: semi-private + encoding: UTF-8 + links: + - https://www.sharewood.tv/ + + caps: + categorymappings: + - {id: "Vidéos Torrent", cat: Movies, desc: "Vidéos"} + - {id: "Audios Torrent", cat: Audio, desc: "Audios"} + - {id: "Applications Torrent", cat: PC, desc: "Applications"} + - {id: "Ebooks Torrent", cat: Books, desc: "Ebooks"} + - {id: "Jeux-Vidéos Torrent", cat: Console, desc: "Jeux-Vidéos"} + - {id: "Formations Torrent", cat: Other, desc: "Formations"} + - {id: "XXX Torrent", cat: XXX, desc: "XXX"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + login: + path: login + method: form + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + remember: 1 + selectorinputs: + _token: + selector: meta[name="csrf-token"] + attribute: content + error: + - selector: form[action$="/login"] .text-red + test: + path: / + selector: a[href$="/logout"] + + ratio: + path: / + selector: li:has(i.fa-signal) + filters: + - name: regexp + args: "Ratio : (\\d+)" + + search: + paths: + - path: filterTorrents + inputs: + search: "{{ .Keywords }}" + uploader: "" + sort: created_at + direction: desc + qty: 100 + rows: + selector: div.table-responsive-line + fields: + category: + selector: i.torrent-icon + attribute: data-original-title + title: + selector: a.view-torrent + download: + selector: a.view-torrent + attribute: href + filters: + - name: replace + args: ["/torrents/", "/download/"] + details: + selector: a.view-torrent + attribute: href + size: + selector: div.col-detail div.row div:nth-child(2) + seeders: + selector: div.bouton-s + leechers: + selector: div.bouton-l + date: + selector: div.col-detail div.row div span + filters: + - name: replace + args: ["il y a ", ""] + - name: replace + args: ["heure", "hour"] + - name: replace + args: ["jour", "day"] + - name: replace + args: ["semaine", "week"] + - name: replace + args: ["mois", "month"] + - name: append + args: " ago" + downloadvolumefactor: + case: + "*": "1" + uploadvolumefactor: + case: + "*": "1"