Jackett/src/Jackett.Common/Definitions/torrentproject2.yml

86 lines
2.2 KiB
YAML

---
site: torrentproject2
name: TorrentProject2
description: "TorrentProject2 is a Public torrent meta-search engine"
language: en-us
type: public
encoding: UTF-8
links:
- https://torrentproject2.se/
caps:
categories:
"video tv": TV
"video dvd": Movies/SD
"Video Dvdrip": Movies/SD
"video hdrip": Movies/HD
"Video Lq": Movies/Foreign
"audio mp3": Audio/MP3
"audio lossless": Audio/Lossless
"video": Movies
"ebooks": Books/Ebook
"Ebooks Comics": Books/Comics
"Ebooks Magazines": Other
"Ebooks Audiobook": Audio/Audiobook
"Ebooks Tutorials": Books/Ebook
"Games PC": PC/Games
"Games Nintendo": Console
"Games PlayStation": Console
"Games XBox": Console/XBox
"Mobile": PC/Phone-Other
"Applications": PC
"Images": Other
"Other": Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: filter-verified
type: checkbox
label: "Only include verifed content in results"
default: false
download:
selector: "#download > div:nth-child(2) > div:nth-child(1) > a"
attribute: href
filters:
- name: replace
args: ["https://mylink.me.uk/?url=" ,""]
- name: urldecode
search:
paths:
- path: "?t={{if .Keywords}}{{.Keywords}}{{else}}test{{end}}&orderby=latest{{if .Config.filter-verified }}&safe=on{{else}}{{end}}"
followredirect: true
rows:
selector: "#similarfiles div:has(a[href^=\"/t3-\"])"
fields:
title:
selector: span > a
details:
selector: span > a
attribute: href
download:
selector: span > a
attribute: href
category:
text: "Other"
category:
optional: true
selector: div > span:nth-child(1) > span
date:
selector: div > span:nth-child(4)
size:
selector: div > span:nth-child(5)
seeders:
selector: div > span:nth-child(2)
leechers:
selector: div > span:nth-child(3)
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"