Revert "eztv: fetch magnets from details page. resolves #4813"

This reverts commit a84b1dce4d.
This commit is contained in:
Garfield69
2019-03-06 13:00:28 +13:00
parent b8aa2a16dd
commit 4e1d7ac09b

View File

@@ -17,14 +17,10 @@
1: TV 1: TV
modes: modes:
search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep]
settings: [] settings: []
download:
selector: a[href^="magnet:?"]
search: search:
paths: paths:
- path: "{{if .Keywords}}search/{{ .Keywords}}{{else}}/{{end}}" - path: "{{if .Keywords}}search/{{ .Keywords}}{{else}}/{{end}}"
@@ -32,7 +28,7 @@
- name: re_replace - name: re_replace
args: ["S[0-9]{2}([^E]|$)", ""] # remove season tag without episode (search doesn't support it) args: ["S[0-9]{2}([^E]|$)", ""] # remove season tag without episode (search doesn't support it)
rows: rows:
selector: table.forum_header_border tr[name="hover"].forum_header_border selector: "table.forum_header_border tr[name='hover'].forum_header_border:has(a.magnet)" # some torrents don't have any download links, skip them
filters: filters:
- name: andmatch - name: andmatch
fields: fields:
@@ -51,22 +47,20 @@
selector: td:nth-child(2) a selector: td:nth-child(2) a
attribute: href attribute: href
download: download:
selector: td:nth-child(2) a selector: td:nth-child(3) a.magnet, td:nth-child(3) a
attribute: href attribute: href
size: size:
text: "500 MB" text: "500 MB"
size: size:
optional: true optional: true
selector: td:nth-child(3)
date:
selector: td:nth-child(4) selector: td:nth-child(4)
date:
selector: td:nth-child(5)
filters: filters:
- name: append - name: append
args: " ago" args: " ago"
seeders: seeders:
selector: td:nth-child(5) selector: td:nth-child(6)
leechers:
text: 0
downloadvolumefactor: downloadvolumefactor:
text: "0" text: "0"
uploadvolumefactor: uploadvolumefactor: