From 038f7041cdd73386c8ec27e53b7a09b8eba53e7c Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 7 Mar 2021 11:46:17 +1300 Subject: [PATCH] gtorrent: refresh categories --- src/Jackett.Common/Definitions/gtorrent.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/gtorrent.yml b/src/Jackett.Common/Definitions/gtorrent.yml index 7daaddbe7..0bceebb71 100644 --- a/src/Jackett.Common/Definitions/gtorrent.yml +++ b/src/Jackett.Common/Definitions/gtorrent.yml @@ -10,7 +10,11 @@ links: caps: categorymappings: - - {id: 1, cat: Other, desc: "Other"} + - {id: "filmy", cat: Movies, desc: "Фильмы (Movies)"} + - {id: "muzyka", cat: Audio, desc: "Музыка (Music)"} + - {id: "igry", cat: Console, desc: "Игры (Games)"} + - {id: "serialy", cat: TV, desc: "Сериалы (TV series)"} + - {id: "programmy", cat: PC, desc: "Программы (Software)"} modes: search: [q] @@ -40,7 +44,11 @@ search: fields: category: - text: 1 + selector: div.name a + attribute: href + filters: + - name: split + args: ["/", 3] title: selector: div.name details: