diff --git a/src/Jackett.Common/Definitions/btdb.yml b/src/Jackett.Common/Definitions/btdb.yml index abab21821..60b27a54d 100644 --- a/src/Jackett.Common/Definitions/btdb.yml +++ b/src/Jackett.Common/Definitions/btdb.yml @@ -11,8 +11,6 @@ caps: categorymappings: - {id: 1, cat: Other, desc: "Other"} - - {id: 2, cat: TV, desc: "TV"} - - {id: 3, cat: Movies, desc: ""} modes: search: [q] @@ -51,36 +49,21 @@ magnet: selector: div[class$="info"] a[href^="magnet:"] attribute: href + size: + selector: div[class$="info"] span:nth-of-type(1) + files: + selector: div[class$="info"] span:nth-of-type(2) date: - selector: div[class$="info"] + selector: div[class$="info"] span:nth-of-type(3) filters: - - name: split - args: ["\n", 3] - - name: replace - args: ["AddTime: ", ""] - name: dateparse args: "2006-01-02 15:04:05" - size: - selector: div[class$="info"] - filters: - - name: split - args: ["\n", 1] - - name: replace - args: ["Size: ", ""] - files: - selector: div[class$="info"] - filters: - - name: split - args: ["\n", 2] - - name: replace - args: ["Files: ", ""] grabs: - selector: div[class$="info"] - filters: - - name: split - args: ["\n", 4] - - name: replace - args: ["Popularity: ", ""] + selector: div[class$="info"] span:nth-of-type(4) + seeders: + text: "0" + leechers: + text: "0" downloadvolumefactor: text: "0" uploadvolumefactor: