From 4c764a022a01a2fae2ed7b1b3e6bda4020dae90d Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 23 Aug 2019 09:36:41 +1200 Subject: [PATCH] yourbittorrent: new domain .host its not identical to the .com site so its probably a clone --- .../Definitions/yourbittorrent.yml | 38 +++++++------------ 1 file changed, 14 insertions(+), 24 deletions(-) diff --git a/src/Jackett.Common/Definitions/yourbittorrent.yml b/src/Jackett.Common/Definitions/yourbittorrent.yml index b102d1570..d0d3b2aba 100644 --- a/src/Jackett.Common/Definitions/yourbittorrent.yml +++ b/src/Jackett.Common/Definitions/yourbittorrent.yml @@ -6,20 +6,13 @@ type: public encoding: UTF-8 links: + - https://yourbittorrent.host/ + legacylinks: - https://yourbittorrent.com/ caps: categories: - "Anime": TV/Anime - "Software": PC - "eBooks": Books - "XXX": XXX - "Games": PC/Games - "Movies": Movies - "Music": Audio - "Television": TV "Other": Other - "Pictures": Other modes: search: [q] @@ -35,32 +28,29 @@ paths: - path: / inputs: - v: "" - c: "" q: "{{ .Keywords}}" keywordsfilters: - name: re_replace args: ["[\\s]+", "-"] rows: - selector: tr.table-default, tr.table-success - filters: - - name: andmatch + selector: table.table > tbody > tr:has(a[href^="/torrent/"]) +# filters: +# - name: andmatch fields: category: - selector: td:nth-child(1) a - attribute: title + text: Other title: - selector: td:nth-child(2) a + selector: td.n div a, td.v div a details: - selector: td:nth-child(2) a + selector: td.n div a, td.v div a attribute: href download: - selector: td:nth-child(2) a + selector: td.n div a, td.v div a attribute: href size: - selector: td:nth-child(4) + selector: td.s date: - selector: td:nth-child(5):not(:contains("/")) + selector: td.t:not(:contains("/")) optional: true filters: - name: replace @@ -69,15 +59,15 @@ args: ["Yesterday", "1 day"] - name: timeago date: - selector: td:nth-child(5):contains("/") + selector: td.t:contains("/") optional: true filters: - name: dateparse args: "02/01/06" seeders: - selector: td:nth-child(6) + selector: td.u leechers: - selector: td:nth-child(7) + selector: td.d downloadvolumefactor: text: "0" uploadvolumefactor: