mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 14:51:01 +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
|
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}}"
|
||||||
|
@ -28,7 +32,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: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:
|
filters:
|
||||||
- name: andmatch
|
- name: andmatch
|
||||||
fields:
|
fields:
|
||||||
|
@ -47,20 +51,22 @@
|
||||||
selector: td:nth-child(2) a
|
selector: td:nth-child(2) a
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: td:nth-child(3) a.magnet, td:nth-child(3) a
|
selector: td:nth-child(2) a
|
||||||
attribute: href
|
attribute: href
|
||||||
size:
|
size:
|
||||||
text: "500 MB"
|
text: "500 MB"
|
||||||
size:
|
size:
|
||||||
optional: true
|
optional: true
|
||||||
selector: td:nth-child(4)
|
selector: td:nth-child(3)
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(4)
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " ago"
|
args: " ago"
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(5)
|
||||||
|
leechers:
|
||||||
|
text: 0
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: "0"
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
|
|
Loading…
Reference in a new issue