Grey's Anatomy manual fix for 1337x (#2998)

Implementing Magico fix for Grey's Anatomy as 1337x does the same with apostrophes.
This commit is contained in:
Connor Smith
2018-04-23 10:21:44 -04:00
committed by kaso17
parent 13e14f3e62
commit c2d3214c01

View File

@@ -120,11 +120,17 @@
paths: paths:
# present trending results if there are no search parms supplied # present trending results if there are no search parms supplied
- path: "{{if .Keywords}}/search/{{ .Keywords}}/1/{{else}}/trending{{end}}" - path: "{{if .Keywords}}/search/{{ .Keywords}}/1/{{else}}/trending{{end}}"
keywordsfilters:
- name: replace # use this as a workaround till #893 is implemented
args: ["Greys Anatomy", "Grey's Anatomy"]
rows: rows:
selector: tr:has(a[href^="/torrent/"]) selector: tr:has(a[href^="/torrent/"])
fields: fields:
title: title:
selector: td[class^="coll-1"] a[href^="/torrent/"] selector: td[class^="coll-1"] a[href^="/torrent/"]
filters:
- name: replace
args: ["Grey's Anatomy", "Greys Anatomy"]
category: category:
optional: true optional: true
selector: td[class^="coll-1"] a[href^="/sub/"] selector: td[class^="coll-1"] a[href^="/sub/"]