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

90 lines
2.3 KiB
YAML
Raw Normal View History

---
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
- name: info
type: info
label: A note about TP2
default: TP2 does not display categories in its search results page. To add to Sonarr or Radarr replace all categories with 7000.
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:
2019-04-08 20:02:03 +00:00
selector: "#similarfiles div:has(a[href^=\"/t0-\"])"
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"