mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 06:40:57 +00:00
eztv: fetch magnets from details page. resolves #4813
This commit is contained in:
parent
be54f1a532
commit
a84b1dce4d
1 changed files with 11 additions and 5 deletions
|
@ -17,10 +17,14 @@
|
|||
1: TV
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
settings: []
|
||||
|
||||
download:
|
||||
selector: a[href^="magnet:?"]
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: "{{if .Keywords}}search/{{ .Keywords}}{{else}}/{{end}}"
|
||||
|
@ -28,7 +32,7 @@
|
|||
- name: re_replace
|
||||
args: ["S[0-9]{2}([^E]|$)", ""] # remove season tag without episode (search doesn't support it)
|
||||
rows:
|
||||
selector: "table.forum_header_border tr[name='hover'].forum_header_border:has(a.magnet)" # some torrents don't have any download links, skip them
|
||||
selector: table.forum_header_border tr[name="hover"].forum_header_border
|
||||
filters:
|
||||
- name: andmatch
|
||||
fields:
|
||||
|
@ -47,20 +51,22 @@
|
|||
selector: td:nth-child(2) a
|
||||
attribute: href
|
||||
download:
|
||||
selector: td:nth-child(3) a.magnet, td:nth-child(3) a
|
||||
selector: td:nth-child(2) a
|
||||
attribute: href
|
||||
size:
|
||||
text: "500 MB"
|
||||
size:
|
||||
optional: true
|
||||
selector: td:nth-child(4)
|
||||
selector: td:nth-child(3)
|
||||
date:
|
||||
selector: td:nth-child(5)
|
||||
selector: td:nth-child(4)
|
||||
filters:
|
||||
- name: append
|
||||
args: " ago"
|
||||
seeders:
|
||||
selector: td:nth-child(6)
|
||||
selector: td:nth-child(5)
|
||||
leechers:
|
||||
text: 0
|
||||
downloadvolumefactor:
|
||||
text: "0"
|
||||
uploadvolumefactor:
|
||||
|
|
Loading…
Reference in a new issue