assorted: refresh missing cat handling.

This commit is contained in:
Garfield69 2020-04-02 10:59:23 +13:00
parent db37b42b86
commit 5cfa72361b
6 changed files with 11 additions and 7 deletions

View File

@ -66,6 +66,8 @@
title:
selector: div.resultdivtop a div.resultdivtopname
category:
text: 0
category|noappend:
optional: true
selector: div.resultdivbotton div.resultdivbottoncategory
case:

View File

@ -68,6 +68,8 @@
selector: td.n a
attribute: title
category:
text: Other
category|noappend:
optional: true
selector: td[class^="t"]
details:

View File

@ -78,8 +78,8 @@
fields:
category:
text: "Other"
category:
text: Other
category|noappend:
optional: true
selector: div > span:nth-child(1) > span
title:

View File

@ -53,8 +53,8 @@
# return movie and tv results if there are no search parms supplied (for use with the TEST button)
# https://torrentquest.com/download/movies/se/desc/
# https://torrentquest.com/m/mandalorian-s01e07/age/desc/
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}{{else}}download/movies{{end}}/{{ .Config.sort }}/{{ .Config.type }}/"
- path: "{{ if .Keywords }}{{else}}download/tv/{{ .Config.sort }}/{{ .Config.type }}/{{end}}"
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}{{else}}download/movies{{end}}/{{ .Config.sort }}/{{ .Config.type }}/"
- path: "{{ if .Keywords }}{{else}}download/tv/{{ .Config.sort }}/{{ .Config.type }}/{{end}}"
rows:
selector: tr:has(td.m)
@ -64,6 +64,8 @@
selector: td.n a
attribute: title
category:
text: Other
category|noappend:
optional: true
selector: td[class^="t"]
details:

View File

@ -269,7 +269,6 @@
category:
# changed the catid into and hidden div as of last tracker problem
selector: ":nth-child(1) > div.hidden"
comments:
optional: true
selector: td:nth-child(1) > a[href$="#comments"]

View File

@ -193,7 +193,7 @@
search:
followredirect: true
keywordsfilters:
# Hack For anime Search ! example : replace sonarr search of
# Hack For anime Search ! example : replace sonarr search of
# One Punch Man S2 10 OR One Punch Man S2 2
# BY
# One Punch Man S02E10 OR One Punch Man S02E02
@ -283,7 +283,6 @@
category:
# changed the catid into and hidden div as of last tracker problem
selector: ":nth-child(1) > div.hidden"
comments:
optional: true
selector: td:nth-child(1) > a[href$="#comments"]