mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrentfunk: add sort, update cats, add verified, 100 results
This commit is contained in:
@@ -25,10 +25,10 @@ caps:
|
||||
- {id: 5, cat: PC, desc: Software}
|
||||
- {id: 6, cat: TV/Anime, desc: Anime}
|
||||
- {id: 7, cat: XXX, desc: Adult}
|
||||
- {id: 8, cat: Other, desc: Other(tbd)}
|
||||
- {id: 8, cat: Books/EBook, desc: Ebooks}
|
||||
- {id: 10, cat: Other/Misc, desc: Other}
|
||||
- {id: 9, cat: Other, desc: Other(tbd)}
|
||||
- {id: 0, cat: Other, desc: Other(tbd)}
|
||||
- {id: 10, cat: Other, desc: Other(tbd)}
|
||||
- {id: 11, cat: Other, desc: Other(tbd)}
|
||||
|
||||
modes:
|
||||
@@ -37,16 +37,39 @@ caps:
|
||||
movie-search: [q]
|
||||
music-search: [q]
|
||||
|
||||
settings: []
|
||||
settings:
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: added
|
||||
options:
|
||||
added: created
|
||||
seeds: seeders
|
||||
size: size
|
||||
name: title
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: desc
|
||||
options:
|
||||
desc: desc
|
||||
asc: asc
|
||||
|
||||
search:
|
||||
paths:
|
||||
# https://www.torrentfunk.com/all/torrents/morty-402-castellano.html
|
||||
# https://www.torrentfunk.com/all/torrents/2025.html?smi=0&sma=0&i=100&sort=added&o=desc&
|
||||
- path: "all/torrents/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}.html"
|
||||
keywordsfilters:
|
||||
- name: re_replace
|
||||
args: ["[\\s]+", "-"]
|
||||
- name: tolower
|
||||
inputs:
|
||||
smi: 0
|
||||
sma: 0
|
||||
# 50, 100, 150, 200, 250
|
||||
i: 100
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: table.tmain tbody tr:has(a[href^="/torrent/"])
|
||||
@@ -101,6 +124,12 @@ search:
|
||||
selector: td:nth-child(4)
|
||||
leechers:
|
||||
selector: td:nth-child(5)
|
||||
_verified:
|
||||
selector: img[title="Torrent Verified"]
|
||||
attribute: title
|
||||
optional: true
|
||||
description:
|
||||
text: "{{ if .Result._verified }}Verified{{ else }}{{ end }}"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
Reference in New Issue
Block a user