spidertk: new selectors

update engine tag
This commit is contained in:
Garfield69 2022-09-13 16:39:58 +12:00
parent 4d27570669
commit af633154b9
1 changed files with 9 additions and 14 deletions

View File

@ -165,14 +165,8 @@ search:
filters: filters:
- name: querystring - name: querystring
args: cat args: cat
title_default:
selector: a[href^="details.php?id="]
title_optional:
optional: true
selector: a[title][href^="details.php?id="]
attribute: title
title: title:
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}" selector: a[href^="details.php?id="]
details: details:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
attribute: href attribute: href
@ -181,7 +175,7 @@ search:
attribute: href attribute: href
date_elapsed: date_elapsed:
# time type: time elapsed (default) # time type: time elapsed (default)
selector: td:nth-child(4) > span[title] selector: td.rowfollow:nth-child(4) > span[title]
attribute: title attribute: title
optional: true optional: true
filters: filters:
@ -191,7 +185,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:nth-child(4):not(:has(span)) selector: td.rowfollow:nth-child(4):not(:has(span))
optional: true optional: true
filters: filters:
- name: append - name: append
@ -201,13 +195,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:nth-child(5) selector: td.rowfollow:nth-child(5)
seeders: seeders:
selector: td:nth-child(6) selector: td.rowfollow:nth-child(6)
leechers: leechers:
selector: td:nth-child(7) selector: td.rowfollow:nth-child(7)
grabs: grabs:
selector: td:nth-child(8) selector: td.rowfollow:nth-child(8)
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src="pic/freeleech.png"]: 0 img[src="pic/freeleech.png"]: 0
@ -224,4 +218,5 @@ search:
"*": 1 "*": 1
minimumratio: minimumratio:
text: 0.81 text: 0.81
# NexusPHP Custom 1.7.7 2022-04-30 # NexusPHP Custom 1.7.24 2022-09-11