From 36e78d08daa7d96eb0aa5f4137bd63a8569e5c3a Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 4 Nov 2020 10:51:08 +1300 Subject: [PATCH] torrentquest: convert to categorymappings code tidy --- .../Definitions/torrentquest.yml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentquest.yml b/src/Jackett.Common/Definitions/torrentquest.yml index 8219d2ccc..71bd618ec 100644 --- a/src/Jackett.Common/Definitions/torrentquest.yml +++ b/src/Jackett.Common/Definitions/torrentquest.yml @@ -9,14 +9,14 @@ links: - https://torrentquest.com/ caps: - categories: - TV: TV - Movie: Movies - Music: Audio - E-Book: Books/EBook - Game: PC/Games - Software: PC - Other: Other + categorymappings: + - {id: TV, cat: TV, desc: "TV Shows"} + - {id: Movie, cat: Movies, desc: Movies} + - {id: Music, cat: Audio, desc: Music} + - {id: E-Book, cat: Books/EBook, desc: E-Books} + - {id: Game, cat: PC/Games, desc: Games} + - {id: Software, cat: PC, desc: Software} + - {id: Other, cat: Other, desc: Other} modes: search: [q] @@ -62,14 +62,14 @@ search: selector: tr:has(td.m) fields: - title: - selector: td.n a - attribute: title category: text: Other category|noappend: optional: true selector: td[class^="t"] + title: + selector: td.n a + attribute: title details: selector: td.n a attribute: href