From 5ca5372ae0a3836f4ee8500c0aab2ae14c0ca3c9 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 23 Nov 2022 08:52:14 +1300 Subject: [PATCH] torrentleech: handle null title. resolves #13736 --- src/Jackett.Common/Definitions/torrentleech.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/torrentleech.yml b/src/Jackett.Common/Definitions/torrentleech.yml index 08e8da7fb..648cb4404 100644 --- a/src/Jackett.Common/Definitions/torrentleech.yml +++ b/src/Jackett.Common/Definitions/torrentleech.yml @@ -137,8 +137,11 @@ search: fields: category: selector: categoryID - title: + title_test: # title can be null #13736 selector: name + optional: true + title: + text: "{{ if .Result.title_test }}{{ .Result.title_test }}{{ else }}TorrentLeech did not provide a title{{ end }}" _id: selector: fid _filename: