diff --git a/src/Jackett.Common/Definitions/thepiratebay.yml b/src/Jackett.Common/Definitions/thepiratebay.yml index 2e565c878..20bbccbd3 100644 --- a/src/Jackett.Common/Definitions/thepiratebay.yml +++ b/src/Jackett.Common/Definitions/thepiratebay.yml @@ -75,9 +75,8 @@ settings: [] search: - categoriesdefault: "ALL" paths: - - path: "{{if .Query.Keywords}}/search/{{ .Keywords}}/0/99/{{range .Categories }}{{.}}{{end}}{{else}}/recent{{end}}" + - path: "{{if .Query.Keywords}}/search/{{ .Keywords}}/0/99/{{join .Categories \",\"}}{{else}}/recent{{end}}" keywordsfilters: # currently, the only uploader for General Hospital puts a space between season and episode # this filter searches both formats, so "General Hospital S01E02" becomes "General Hospital S01E02 | (S01 E02)"