From 2c5a8914a4a01ef500adb386ce055639232849fe Mon Sep 17 00:00:00 2001 From: adamwinn Date: Sat, 8 Apr 2017 20:05:22 -0600 Subject: [PATCH] Fix TPB category searching (#1252) * add * Add 3D Torrents * Accidently commited an old version of the 3dtorrents yaml file * Allow searching by categories for TPB * add * add * Fix error when pressing the Test button for TPB. This will remove searching by category for the time being. * Change HDPter to Ourbits * KG improvements. Fixed 1) and 2) for #1241 * Add Torrent9 * Add tracker HDChina * Fix searching by category for TPB. This also fixes having Jackett fail when pressing the Test button for TPB. --- src/Jackett/Definitions/thepiratebay.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Jackett/Definitions/thepiratebay.yml b/src/Jackett/Definitions/thepiratebay.yml index 239535f8b..c0a4facdc 100755 --- a/src/Jackett/Definitions/thepiratebay.yml +++ b/src/Jackett/Definitions/thepiratebay.yml @@ -73,11 +73,7 @@ settings: [] search: - path: "{{if .Query.Keywords}} - search/{{ .Query.Keywords}}/0/99/ - {{else}} - /recent - {{end}}" + path: "{{if .Query.Keywords}}/search/{{ .Query.Keywords}}/0/99/{{range .Categories }}{{.}}{{end}}{{else}}/recent{{end}}" rows: selector: "#searchResult tbody tr:has(td.vertTh)" fields: