magnetdl: fix leechers and files selectors

This commit is contained in:
Garfield69 2019-06-12 17:49:32 +12:00
parent e89d1f4616
commit 46edeabcfa
1 changed files with 9 additions and 7 deletions

View File

@ -41,30 +41,32 @@
# http://www.magnetdl.com/m/midnight-texas-s01e10/
- path: "{{if .Keywords}}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/movies/{{end}}"
rows:
selector: tr:has(td[class="m"])
selector: tr:has(td.m)
fields:
title:
selector: td[class="n"] a
selector: td.n a
attribute: title
category:
optional: true
selector: td[class^="t"]
details:
selector: td[class="n"] a
selector: td.n a
attribute: href
magnet:
selector: td[class="m"] a
selector: td.m a
attribute: href
date:
selector: td:nth-child(3)
filters:
- name: timeago
files:
selector: td:nth-child(5)
size:
selector: td:nth-child(6)
seeders:
selector: td[class="s"]
files:
selector: td[class="l"]
selector: td.s
leechers:
selector: td.l
downloadvolumefactor:
text: "0"
uploadvolumefactor: