mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 14:51:01 +00:00
parent
dfc130154c
commit
d028c11bb0
1 changed files with 14 additions and 41 deletions
|
@ -7,6 +7,7 @@
|
|||
encoding: UTF-8
|
||||
links:
|
||||
- https://www.torrentfunk.com/
|
||||
- https://www.torrentfunk2.com/
|
||||
|
||||
caps:
|
||||
categories:
|
||||
|
@ -26,51 +27,15 @@
|
|||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: category
|
||||
type: select
|
||||
label: Category
|
||||
default: "all"
|
||||
options:
|
||||
"all": "All"
|
||||
"movie": "Movies"
|
||||
"music": "Music"
|
||||
"television": "TV"
|
||||
"game": "Games"
|
||||
"software": "Software"
|
||||
"anime": "Anime"
|
||||
"ebook": "eBooks"
|
||||
"adult": "Adult"
|
||||
- name: verified
|
||||
type: select
|
||||
label: Verified
|
||||
default: "_"
|
||||
options:
|
||||
"_": "Any"
|
||||
"on": "Verified Only"
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort Desc
|
||||
default: "added"
|
||||
options:
|
||||
"added": "Date"
|
||||
"seeds": "Seeders"
|
||||
"peers": "Leechers"
|
||||
"size": "Size"
|
||||
"name": "Title"
|
||||
|
||||
download:
|
||||
selector: a[href^="/tor/"]
|
||||
settings: []
|
||||
|
||||
search:
|
||||
paths:
|
||||
# https://www.torrentfunk.com/all/torrents/vikings.html?v=&smi=&sma=&i=50&sort=added&o=desc
|
||||
- path: "{{.Config.category}}/torrents/{{.Keywords}}.html?v={{re_replace .Config.verified \"_\" \"\"}}&smi=&sma=&i=50&sort={{.Config.sort}}&o=desc"
|
||||
# https://www.torrentfunk.com/all/torrents/morty-402-castellano.html
|
||||
- path: "all/torrents/{{ re_replace .Keywords \"[\\s]+\" \"-\" }}.html"
|
||||
|
||||
rows:
|
||||
selector: table.tmain tbody tr:has(a[href^="/torrent/"])
|
||||
filters:
|
||||
- name: andmatch
|
||||
fields:
|
||||
title:
|
||||
selector: div a[href^="/torrent/"]
|
||||
|
@ -84,8 +49,16 @@
|
|||
selector: div a[href^="/torrent/"]
|
||||
attribute: href
|
||||
download:
|
||||
# /tor/25878251.torrent
|
||||
selector: div a[href^="/torrent/"]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: split
|
||||
args: ["/", 2]
|
||||
- name: prepend
|
||||
args: "/tor/"
|
||||
- name: append
|
||||
args: ".torrent"
|
||||
# two types of dates
|
||||
date:
|
||||
# Today
|
||||
|
@ -114,6 +87,6 @@
|
|||
leechers:
|
||||
selector: td:nth-child(5)
|
||||
downloadvolumefactor:
|
||||
text: "0"
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: "1"
|
||||
text: 1
|
||||
|
|
Loading…
Reference in a new issue