1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-28 17:05:40 +00:00

asgaard: fix date parsing.

This commit is contained in:
Garfield69 2020-06-02 08:45:42 +12:00
parent 454ca8927a
commit ce4eb2311e

View file

@ -158,11 +158,6 @@ search:
download: download:
selector: a[href*="download.php?torrent="] selector: a[href*="download.php?torrent="]
attribute: href attribute: href
date:
selector: td:nth-child(2) > div > div:last-of-type
filters:
- name: dateparse
args: "2 Jan 2006 15:04:05"
files: files:
# remember #5754 advanced users have additional last TD so dont go using nth-last-child ;-) # remember #5754 advanced users have additional last TD so dont go using nth-last-child ;-)
selector: td:nth-child(5) selector: td:nth-child(5)
@ -174,6 +169,24 @@ search:
selector: td:nth-child(9) selector: td:nth-child(9)
leechers: leechers:
selector: td:nth-child(10) selector: td:nth-child(10)
date:
# 26 May 20 14:05:06
selector: td:nth-child(2) > div > div:last-of-type:not(:contains("day"))
optional: true
# drop New!
remove: span
filters:
- name: dateparse
args: "2 Jan 2006 15:04:05"
date:
# Today, 20:26:23
# Yesterday, 13:50:05
selector: td:nth-child(2) > div > div:last-of-type:contains("day")
optional: true
# drop New!
remove: span
filters:
- name: fuzzytime
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src="./images/gold.png"]: 0 img[src="./images/gold.png"]: 0