From 9d3498c382a3f0f53480d488a9ab61a4051e3559 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 17 Sep 2019 07:39:02 +1200 Subject: [PATCH] Revert "demonoid: apparently category stacking may work, just have to wait for their DB to get updated. #5994" This reverts commit dfb00e73e8754eb00761e100af7cf0fc7efe7a96. --- src/Jackett.Common/Definitions/demonoid.yml | 25 +++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/demonoid.yml b/src/Jackett.Common/Definitions/demonoid.yml index 2ac8714b9..513f785d9 100644 --- a/src/Jackett.Common/Definitions/demonoid.yml +++ b/src/Jackett.Common/Definitions/demonoid.yml @@ -28,7 +28,25 @@ tv-search: [q, season, ep] movie-search: [q] - settings: [] + settings: + - name: category + type: select + label: Category + default: "0" + options: + "0": "All" + "1": "Applications" + "2": "Audio Books" + "3": "Books" + "4": "Comics" + "5": "Games" + "6": "Anime" + "7": "Miscellaneous" + "8": "Movies" + "9": "Music" + "10": "Music Videos" + "11": "Pictures" + "12": "TV" download: selector: a[href^="magnet:?xt="] @@ -38,7 +56,10 @@ # https://www.dnoid.to/files/?category=0&subcategory=0&language=0&quality=0&incldead=3&search=id&sort=desc - path: files/ inputs: - $raw: "{{range .Categories}}c{{.}}&{{end}}" + category: "{{.Config.category}}" + subcategory: 0 + language: 0 + quality: 0 # 1 active 2 dead 3 both incldead: 3 search: "{{.Keywords}}"