From 9f03831321b97cee586d33f411af7e7aefbb95cf Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 6 Feb 2020 15:19:38 +1300 Subject: [PATCH] glodls: handle missing category. resolves #7113 --- src/Jackett.Common/Definitions/glodls.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Jackett.Common/Definitions/glodls.yml b/src/Jackett.Common/Definitions/glodls.yml index aa068c54f..ed6adc418 100644 --- a/src/Jackett.Common/Definitions/glodls.yml +++ b/src/Jackett.Common/Definitions/glodls.yml @@ -78,6 +78,13 @@ fields: category: + optional: true + selector: td:nth-child(1):contains("-") + filters: + - name: replace #7113 provide default for missing category + args: ["-", "33"] + category: + optional: true selector: a[href^="/search.php?cat="] attribute: href filters: