mirror of https://github.com/Jackett/Jackett
btdb: new layout. resolves #7308
This commit is contained in:
parent
5d808e006d
commit
a3dcb0455a
|
@ -33,39 +33,53 @@
|
||||||
options:
|
options:
|
||||||
"time": "created"
|
"time": "created"
|
||||||
"length": "size"
|
"length": "size"
|
||||||
"popular": "seeders"
|
"seeders": "seeders"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}?s={{ .Keywords }}&sort={{ .Config.sort }}{{else}}recent?sort={{ .Config.sort }}{{end}}"
|
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{else}}recent{{end}}?sort={{ .Config.sort }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: li[class$="item"]
|
selector: div.media
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
|
||||||
selector: h2[class$="title"] a[href*="/torrent/"]
|
|
||||||
attribute: title
|
|
||||||
category:
|
category:
|
||||||
text: 1
|
text: 1
|
||||||
|
title:
|
||||||
|
selector: a[href^="/torrent/"]
|
||||||
details:
|
details:
|
||||||
selector: h2[class$="title"] a[href*="/torrent/"]
|
selector: a[href^="/torrent/"]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a[href*="/dl/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
magnet:
|
magnet:
|
||||||
selector: div[class$="info"] a[href^="magnet:?xt="]
|
selector: a[href^="magnet:?xt="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
banner:
|
||||||
|
selector: a.img-thumbnail img
|
||||||
|
attribute: src
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["https://btdb.io/assets/img/placeholder.png", ""]
|
||||||
size:
|
size:
|
||||||
selector: div[class$="info"] span:nth-of-type(1)
|
selector: small:nth-of-type(1) strong
|
||||||
files:
|
files:
|
||||||
selector: div[class$="info"] span:nth-of-type(2)
|
selector: small:nth-of-type(2) strong
|
||||||
|
seeders:
|
||||||
|
selector: small:nth-of-type(3) strong
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: [",", ""]
|
||||||
|
leechers:
|
||||||
|
selector: small:nth-of-type(4) strong
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: [",", ""]
|
||||||
date:
|
date:
|
||||||
selector: div[class$="info"] span:nth-of-type(3)
|
selector: small:nth-of-type(5) strong
|
||||||
filters:
|
filters:
|
||||||
- name: timeago
|
- name: timeago
|
||||||
seeders:
|
|
||||||
selector: div[class$="info"] span:nth-of-type(4)
|
|
||||||
leechers:
|
|
||||||
selector: div[class$="info"] span:nth-of-type(5)
|
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 0
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
|
|
Loading…
Reference in New Issue