1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 06:03:09 +00:00

piratbit: new selectors AGAIN!

This commit is contained in:
Garfield69 2023-09-27 07:17:34 +13:00
parent 9b6b1bf6b6
commit 003b88d5fc

View file

@ -691,7 +691,7 @@ search:
- name: querystring - name: querystring
args: f args: f
title: title:
selector: a.gengood selector: a.title
filters: filters:
# normalize to SXXEYY format # normalize to SXXEYY format
- name: re_replace - name: re_replace
@ -757,10 +757,10 @@ search:
- name: append - name: append
args: "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}" args: "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
details: details:
selector: a.gengood selector: a.title
attribute: href attribute: href
download: download:
selector: a.gengood selector: a.title
attribute: href attribute: href
description: description:
selector: td:first-child span selector: td:first-child span
@ -773,7 +773,7 @@ search:
optional: true optional: true
filters: filters:
- name: append - name: append
args: " +03:00" # MSK args: " +00:00" # UTC
- name: dateparse - name: dateparse
args: "HH:mm zzz" args: "HH:mm zzz"
date_year: date_year:
@ -782,17 +782,17 @@ search:
optional: true optional: true
filters: filters:
- name: append - name: append
args: " +03:00" # MSK args: " +00:00" # UTC
- name: dateparse - name: dateparse
args: "HH:mm d-MM-yy zzz" args: "HH:mm d-MM-yy zzz"
date: date:
text: "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}" text: "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
seeders:
selector: td:nth-child(5)
leechers:
selector: td:nth-child(6)
grabs: grabs:
selector: td:nth-child(7) selector: td:nth-child(7)
seeders:
selector: td.seedmed
leechers:
selector: td.leechmed
downloadvolumefactor: downloadvolumefactor:
text: 0 text: 0
uploadvolumefactor: uploadvolumefactor: