mirror of https://github.com/Jackett/Jackett
pterclub: anchor can vary
the anchor is different depending on whether or not the are any comments, with 0 comments using a different link than that used for comments > 0
This commit is contained in:
parent
da7f0f1f1c
commit
ff21baf468
|
@ -141,9 +141,12 @@ search:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
# staff have extra columns at the start and end of a row, so we have to float the next lot of selectors off an anchor
|
# staff have extra columns at the start and end of a row, so we have to float the next lot of selectors off an anchor
|
||||||
|
anchor1:
|
||||||
|
selector: td:has(a[href^="comment.php?"])
|
||||||
|
optional: true
|
||||||
date_elapsed:
|
date_elapsed:
|
||||||
# time type: time elapsed (default)
|
# time type: time elapsed (default)
|
||||||
selector: td:has(a[href^="comment.php?"]) ~ td > span[title]
|
selector: "td:has(a[{{ if .Result.anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td > span[title]"
|
||||||
attribute: title
|
attribute: title
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
|
@ -153,7 +156,7 @@ search:
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
date_added:
|
date_added:
|
||||||
# time added
|
# time added
|
||||||
selector: td:has(a[href^="comment.php?"]) ~ td:not(:has(span[title]))
|
selector: "td:has(a[{{ if .Result.anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td:not(:has(span[title]))"
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
|
@ -163,13 +166,13 @@ search:
|
||||||
date:
|
date:
|
||||||
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
|
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
|
||||||
size:
|
size:
|
||||||
selector: td:has(a[href^="comment.php?"]) ~ td ~ td
|
selector: "td:has(a[{{ if .Result.anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td"
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:has(a[href^="comment.php?"]) ~ td ~ td ~ td
|
selector: "td:has(a[{{ if .Result.anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td"
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:has(a[href^="comment.php?"]) ~ td ~ td ~ td ~ td
|
selector: "td:has(a[{{ if .Result.anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td ~ td"
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:has(a[href^="comment.php?"]) ~ td ~ td ~ td ~ td ~ td
|
selector: "td:has(a[{{ if .Result.anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td ~ td ~ td"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img.pro_free: 0
|
img.pro_free: 0
|
||||||
|
|
Loading…
Reference in New Issue