1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-24 07:10:44 +00:00

Fix thepiratebay.xml for General Hospital (#1647)

* Fix thepiratebay.xml for General Hospital

* Add comment
This commit is contained in:
David Torosyan 2017-08-11 23:19:41 -07:00 committed by flightlevel
parent 0103c48c97
commit bc9e4a30cb

View file

@ -73,7 +73,12 @@
settings: []
search:
path: "{{if .Query.Keywords}}/search/{{ .Query.Keywords}}/0/99/{{range .Categories }}{{.}}{{end}}{{else}}/recent{{end}}"
path: "{{if .Query.Keywords}}/search/{{ .Keywords}}/0/99/{{range .Categories }}{{.}}{{end}}{{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)"
- name: re_replace
args: ["General Hospital S(\\d{2,3})E(\\d{2,3})", "$0 | \\(S$1 E$2\\)"]
rows:
selector: "#searchResult tbody tr:has(td.vertTh)"
fields: