mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
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:
@@ -141,9 +141,12 @@ search:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
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
|
||||
anchor1:
|
||||
selector: td:has(a[href^="comment.php?"])
|
||||
optional: true
|
||||
date_elapsed:
|
||||
# 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
|
||||
optional: true
|
||||
filters:
|
||||
@@ -153,7 +156,7 @@ search:
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date_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
|
||||
filters:
|
||||
- name: append
|
||||
@@ -163,13 +166,13 @@ search:
|
||||
date:
|
||||
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
|
||||
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:
|
||||
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:
|
||||
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:
|
||||
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:
|
||||
case:
|
||||
img.pro_free: 0
|
||||
|
Reference in New Issue
Block a user