noname-club: update the date selector. resolves #12044

This commit is contained in:
Garfield69 2021-07-18 08:30:22 +12:00
parent 79178198bb
commit 15253391e1
2 changed files with 4 additions and 16 deletions

View File

@ -823,14 +823,8 @@ search:
grabs:
selector: td:nth-child(9)
date:
selector: td:nth-child(10)
filters:
- name: re_replace
args: [".*(\\d{2}-\\d{2}-\\d{4})(\\d{2}:\\d{2})", "$1 $2"]
- name: append
args: ":00 +03:00" # MSK
- name: dateparse
args: "02-01-2006 15:04:05 -07:00"
# unix
selector: td:last-child > u
seeders:
selector: td.seedmed > b
leechers:

View File

@ -844,14 +844,8 @@ search:
grabs:
selector: td:nth-child(9)
date:
selector: td:nth-child(11)
filters:
- name: re_replace
args: [".*(\\d{2}-\\d{2}-\\d{4})(\\d{2}:\\d{2})", "$1 $2"]
- name: append
args: ":00 +03:00" # MSK
- name: dateparse
args: "02-01-2006 15:04:05 -07:00"
# unix
selector: td:last-child > u
seeders:
selector: td.seedmed > b
leechers: