abtorrents: update date and size. resolves #15110

This commit is contained in:
ilike2burnthing
2024-03-02 23:21:19 +00:00
committed by GitHub
parent 4b6d6bb63a
commit 655594869d

View File

@@ -145,25 +145,23 @@ search:
selector: a[href^="filelist.php?id="] selector: a[href^="filelist.php?id="]
date_day: date_day:
# auto adjusted by site account profile # auto adjusted by site account profile
# Yesterday, 6:00 AM # Yesterday 6:00 AM
selector: td:nth-last-child(5) > span[title*="day"] selector: td:nth-last-child(2) > div:contains("day")
attribute: title
optional: true optional: true
filters: filters:
- name: fuzzytime - name: fuzzytime
date_year: date_year:
# auto adjusted by site account profile # auto adjusted by site account profile
# Aug 6 2021, 7:25 PM # Aug 6 2021 7:25 PM
selector: td:nth-last-child(5) > span[title]:not([title*="day"]) selector: td:nth-last-child(2) > div:not(:contains("day"))
attribute: title
optional: true optional: true
filters: filters:
- name: dateparse - name: dateparse
args: "MMM d yyyy, h:mm tt" args: "MMM d yyyy h:mm tt"
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 }}"
size: size:
selector: td:nth-last-child(4) selector: td:nth-last-child(4) div:first-child
grabs: grabs:
selector: a[href^="snatches.php?id="] selector: a[href^="snatches.php?id="]
seeders: seeders: