Jackett/src/Jackett.Common/Definitions/torrentfunk.yml

103 lines
2.2 KiB
YAML
Raw Normal View History

2019-02-01 03:55:14 +00:00
---
site: torrentfunk
name: TorrentFunk
description: "TorrentFunk is a Public torrent index"
language: en-us
type: public
encoding: UTF-8
followredirect: true
2019-02-01 03:55:14 +00:00
links:
- https://www.torrentfunk.com/
- https://www.torrentfunk2.com/
- https://torrentfunk.unblockit.me/
legacylinks:
- https://torrentfunk.unblockit.pro/
- https://torrentfunk.unblockit.one/
2019-02-01 03:55:14 +00:00
caps:
categories:
1: Movies
2: Audio
3: TV
4: PC/Games
5: PC
6: TV/Anime
7: XXX
8: Other
9: Other
0: Other
2019-02-01 03:55:14 +00:00
10: Books
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
2020-04-21 21:01:58 +00:00
music-search: [q]
2019-02-01 03:55:14 +00:00
settings: []
2019-02-01 03:55:14 +00:00
search:
paths:
# https://www.torrentfunk.com/all/torrents/morty-402-castellano.html
- path: "all/torrents/{{ .Keywords }}.html"
keywordsfilters:
- name: re_replace
args: ["[\\s]+", "-"]
- name: tolower
2020-02-14 20:48:27 +00:00
2019-02-01 03:55:14 +00:00
rows:
selector: table.tmain tbody tr:has(a[href^="/torrent/"])
filters:
- name: andmatch
2020-02-14 20:48:27 +00:00
2019-02-01 03:55:14 +00:00
fields:
title:
selector: div a[href^="/torrent/"]
category:
selector: td[class^="tv"], td[class^="tn"]
attribute: class
filters:
- name: regexp
2020-02-14 20:48:27 +00:00
args: (\d+)
2019-02-01 03:55:14 +00:00
details:
selector: div a[href^="/torrent/"]
attribute: href
download:
# /tor/25878251.torrent
2019-02-01 03:55:14 +00:00
selector: div a[href^="/torrent/"]
attribute: href
filters:
- name: split
args: ["/", 2]
- name: prepend
args: "/tor/"
- name: append
args: ".torrent"
2019-02-01 03:55:14 +00:00
# two types of dates
date:
# Today
# Yesterday
2020-02-14 20:48:27 +00:00
selector: td:nth-child(2):contains("day")
2019-02-01 03:55:14 +00:00
optional: true
filters:
- name: fuzzytime
date:
# 7 Jul
# 25 Dec
2020-02-14 20:48:27 +00:00
selector: td:nth-child(2):not(:contains("day"))
2019-02-01 03:55:14 +00:00
optional: true
filters:
- name: dateparse
args: "2 Jan"
size:
selector: td:nth-child(3)
seeders:
selector: td:nth-child(4)
leechers:
selector: td:nth-child(5)
2019-02-01 03:55:14 +00:00
downloadvolumefactor:
text: 0
2019-02-01 03:55:14 +00:00
uploadvolumefactor:
text: 1
2020-02-14 20:48:27 +00:00
# engine n/a