139 lines
3.3 KiB
YAML
139 lines
3.3 KiB
YAML
---
|
|
id: torrentfunk
|
|
name: TorrentFunk
|
|
description: "TorrentFunk is a Public torrent index"
|
|
language: en-US
|
|
type: public
|
|
encoding: UTF-8
|
|
links:
|
|
- https://www.torrentfunk.com/
|
|
- https://www.torrentfunk2.com/
|
|
- https://torrentfunk.ninjaproxy1.com/
|
|
- https://torrentfunk.proxyninja.org/
|
|
- https://torrentfunk.proxyninja.net/
|
|
legacylinks:
|
|
- https://torrentfunk.nocensor.cloud/
|
|
- https://torrentfunk.mrunblock.bond/
|
|
- https://torrentfunk.unblockit.download/
|
|
|
|
caps:
|
|
categorymappings:
|
|
- {id: 1, cat: Movies, desc: Movies}
|
|
- {id: 2, cat: Audio, desc: Music}
|
|
- {id: 3, cat: TV, desc: Television}
|
|
- {id: 4, cat: PC/Games, desc: Games}
|
|
- {id: 5, cat: PC, desc: Software}
|
|
- {id: 6, cat: TV/Anime, desc: Anime}
|
|
- {id: 7, cat: XXX, desc: Adult}
|
|
- {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: 11, cat: Other, desc: Other(tbd)}
|
|
|
|
modes:
|
|
search: [q]
|
|
tv-search: [q, season, ep]
|
|
movie-search: [q]
|
|
music-search: [q]
|
|
|
|
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/?qq=1&q=&c=&i=50&sort=added&o=desc&smi=&sma=&submit=SEARCH
|
|
- path: /
|
|
allowEmptyInputs: true
|
|
inputs:
|
|
qq: 1
|
|
q: "{{ .Keywords }}"
|
|
c: ""
|
|
# 50, 100, 150, 200, 250
|
|
i: 100
|
|
sort: "{{ .Config.sort }}"
|
|
type: "{{ .Config.type }}"
|
|
smi: ""
|
|
sma: ""
|
|
submit: SEARCH
|
|
|
|
rows:
|
|
selector: table.tmain tbody tr:has(a[href^="/torrent/"])
|
|
filters:
|
|
- name: andmatch
|
|
|
|
fields:
|
|
category:
|
|
selector: td[class^="tv"], td[class^="tn"]
|
|
attribute: class
|
|
filters:
|
|
- name: regexp
|
|
args: (\d+)
|
|
title:
|
|
selector: div a[href^="/torrent/"]
|
|
details:
|
|
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"
|
|
date_day:
|
|
# Today
|
|
# Yesterday
|
|
selector: td:nth-child(2):contains("day")
|
|
optional: true
|
|
filters:
|
|
- name: fuzzytime
|
|
date_month:
|
|
# 7 Jul 25
|
|
# 25 Dec 25
|
|
selector: td:nth-child(2):not(:contains("day"))
|
|
optional: true
|
|
filters:
|
|
- name: append
|
|
args: " -07:00" # PDT
|
|
- name: dateparse
|
|
args: "d MMM yy zzz"
|
|
date:
|
|
text: "{{ if or .Result.date_month .Result.date_day }}{{ or .Result.date_month .Result.date_day }}{{ else }}now{{ end }}"
|
|
size:
|
|
selector: td:nth-child(3)
|
|
seeders:
|
|
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:
|
|
text: 1
|
|
# engine n/a
|