mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
add Torrof public meta-search engine. resolves #4165
This commit is contained in:
parent
a2946ca903
commit
5a1f9e4af9
2 changed files with 118 additions and 0 deletions
|
@ -68,6 +68,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* Torrent9
|
||||
* Torernt9 clone (torrents9.ch)
|
||||
* Torrentz2
|
||||
* Torrof
|
||||
* World Wide Torrents
|
||||
* YTS.ag
|
||||
* Zooqle
|
||||
|
|
117
src/Jackett.Common/Definitions/torrof.yml
Normal file
117
src/Jackett.Common/Definitions/torrof.yml
Normal file
|
@ -0,0 +1,117 @@
|
|||
---
|
||||
site: torrof
|
||||
name: Torrof
|
||||
description: "Torrof (Torrentoff) is meta-search engine for torrents"
|
||||
language: en-us
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- http://www.torrof.com/
|
||||
|
||||
caps:
|
||||
categories:
|
||||
"Software": PC
|
||||
"Book": Books
|
||||
"Video": Movies
|
||||
"Music": Audio
|
||||
"Other": Other
|
||||
"Picture": Other/Misc
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: category
|
||||
type: select
|
||||
label: Category
|
||||
default: "_"
|
||||
options:
|
||||
"_": "All"
|
||||
"Book": "Book"
|
||||
"Music": "Music"
|
||||
"Other": "Other"
|
||||
"Picture": "Picture"
|
||||
"Software": "Software"
|
||||
"Video": "Video"
|
||||
- name: verified
|
||||
type: select
|
||||
label: Verified
|
||||
default: "_"
|
||||
options:
|
||||
"_": "Any"
|
||||
"1": "Verified Only"
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort
|
||||
default: "_"
|
||||
options:
|
||||
"_": "Default"
|
||||
"creation_date desc": "Age desc"
|
||||
"creation_date asc": "Age asc"
|
||||
"total_size desc": "Size desc"
|
||||
"total_size asc": "Size asc"
|
||||
|
||||
download:
|
||||
selector: section.file-info a:nth-child(2)
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: "{{if .Keywords}}{{.Keywords}}{{else}}test{{end}}"
|
||||
method: post
|
||||
inputs:
|
||||
# torrof does not support trending/latest/new pages
|
||||
text: "{{if .Keywords}}{{.Keywords}}{{else}}test{{end}}"
|
||||
size: "0:inf"
|
||||
date: "0:inf"
|
||||
verified_only: "{{ re_replace .Config.verified \"_\" \"\" }}"
|
||||
category: "{{ re_replace .Config.category \"_\" \"\" }}"
|
||||
tags: ""
|
||||
mode: "titles"
|
||||
sort: "{{ re_replace .Config.sort \"_\" \"\" }}"
|
||||
page: "0"
|
||||
|
||||
rows:
|
||||
# ignore adverts
|
||||
selector: tr:has(a[href^="/view/"])
|
||||
filters:
|
||||
# torrof uses fuzzy search logic
|
||||
- name: andmatch
|
||||
|
||||
fields:
|
||||
title:
|
||||
selector: td:nth-child(2) a:nth-child(1)
|
||||
category:
|
||||
selector: td:nth-child(1) span
|
||||
attribute: title
|
||||
filters:
|
||||
# grab first word
|
||||
- name: split
|
||||
args: [" ", 0]
|
||||
details:
|
||||
selector: td:nth-child(2) a:nth-child(1)
|
||||
attribute: href
|
||||
download:
|
||||
selector: td:nth-child(2) a:nth-child(1)
|
||||
attribute: href
|
||||
date:
|
||||
selector: td:nth-child(4)
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "Jan 2006"
|
||||
size:
|
||||
selector: td:nth-child(3) span:nth-child(1)
|
||||
files:
|
||||
selector: td:nth-child(3) span:nth-last-child(1)
|
||||
filters:
|
||||
- name: replace
|
||||
args: [" Files", ""]
|
||||
seeders:
|
||||
text: "1"
|
||||
leechers:
|
||||
text: "1"
|
||||
downloadvolumefactor:
|
||||
text: "0"
|
||||
uploadvolumefactor:
|
||||
text: "1"
|
Loading…
Reference in a new issue