speed-share: possible solve for #3836

This commit is contained in:
Garfield69 2018-09-23 10:03:24 +12:00
parent c3dffe42be
commit 6b61e22f95
1 changed files with 15 additions and 4 deletions

View File

@ -302,13 +302,24 @@
- name: dateparse - name: dateparse
args: "02/01/2006 15:04:05" args: "02/01/2006 15:04:05"
size: size:
selector: td:nth-child(5) # seems size might be floating as the 4th or 5th td so lets try matching the size-unit
optional: true
selector: td.ttable_col2:contains(" GB")
size:
optional: true
selector: td.ttable_col2:contains(" MB")
size:
optional: true
selector: td.ttable_col2:contains(" kB")
size:
optional: true
selector: td.ttable_col2:contains(" B")
grabs: grabs:
selector: font[color^=orange] selector: td.ttable_col1 > font[color^=orange]
seeders: seeders:
selector: font[color^=green] selector: td.ttable_col1 > font[color^=green]
leechers: leechers:
selector: td.ttable_col1 > font[color^=red] selector: td.ttable_col2 > font[color^=red]
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src="images/free.gif"]: "0" img[src="images/free.gif"]: "0"