assorted x* yml: code tidy

This commit is contained in:
Garfield69
2020-10-24 20:44:25 +13:00
parent 80cb2bedc9
commit 55b8a91910
3 changed files with 16 additions and 28 deletions

View File

@@ -1,9 +1,4 @@
--- ---
# By LA5T for https://x-ite.me (25.07.2018 17:34 UTC+2)
#
# TODO:
# x-ite.me doesn't support altering the number of results, therefore only the 20 first results are shown (this is hardcoded), Jackett may support pagination in the future tho
#
id: xiteme id: xiteme
name: x-ite.me name: x-ite.me
description: "Tracker for LGBTQ movies, TV, books, magazines, anime, PC and XXX." description: "Tracker for LGBTQ movies, TV, books, magazines, anime, PC and XXX."
@@ -20,14 +15,6 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: incldead
type: select
label: Status
default: 1
options:
0: Active
1: "Active and Inactive"
2: Inactive
caps: caps:
categorymappings: categorymappings:
@@ -101,7 +88,6 @@ caps:
movie-search: [q] movie-search: [q]
book-search: [q] book-search: [q]
login: login:
method: post method: post
path: account-login.php path: account-login.php
@@ -123,9 +109,11 @@ search:
inputs: inputs:
$raw: "{{range .Categories}}&c{{.}}=1&{{end}}" $raw: "{{range .Categories}}&c{{.}}=1&{{end}}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
incldead: "{{ .Config.incldead }}" incldead: 1
rows: rows:
selector: tr.t-row selector: tr.t-row
fields: fields:
title: title:
selector: td:nth-child(2) > a:nth-child(1) > b:nth-child(1) selector: td:nth-child(2) > a:nth-child(1) > b:nth-child(1)
@@ -158,7 +146,7 @@ search:
- name: re_replace - name: re_replace
args: ["(\\d{2})-(\\d{2})-(\\d{4}) ((?:\\d{2}:?){3})", "$3-$2-$1 $4"] args: ["(\\d{2})-(\\d{2})-(\\d{4}) ((?:\\d{2}:?){3})", "$3-$2-$1 $4"]
- name: append - name: append
args: " +01:00" args: " +01:00" # CET
- name: dateparse - name: dateparse
args: "2006-01-02 15:04:05 -07:00" args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor: downloadvolumefactor:
@@ -166,5 +154,5 @@ search:
"td:nth-child(2) > a:nth-child(1) > span:nth-child(2)": 0 "td:nth-child(2) > a:nth-child(1) > span:nth-child(2)": 0
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
case: text: 1
"*": 1 # engine tbd

View File

@@ -60,19 +60,19 @@ settings:
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
default: "3" default: 3
options: options:
"3": "created" 3: created
"5": "seeders" 5: seeders
"4": "size" 4: size
"2": "title" 2: title
- name: type - name: type
type: select type: select
label: Order requested from site label: Order requested from site
default: "2" default: 2
options: options:
"2": "desc" 2: desc
"1": "asc" 1: asc
- name: info - name: info
type: info type: info
label: Results Per Page label: Results Per Page

View File

@@ -82,7 +82,7 @@ search:
- name: replace - name: replace
args: ["前天", "Yesterday"] # dont have a day before yesterday time do we? args: ["前天", "Yesterday"] # dont have a day before yesterday time do we?
- name: append - name: append
args: " +08:00" args: " +08:00" # CST
- name: fuzzytime - name: fuzzytime
date: date:
# 03/02 12:44 (no year, so big problem for older dates which will appear as "0m ago" because 12/24 is in the future if today is 04/28) # 03/02 12:44 (no year, so big problem for older dates which will appear as "0m ago" because 12/24 is in the future if today is 04/28)
@@ -90,7 +90,7 @@ search:
optional: true optional: true
filters: filters:
- name: append - name: append
args: " +08:00" args: " +08:00" # CST
- name: dateparse - name: dateparse
args: "01/02 15:04 -07:00" args: "01/02 15:04 -07:00"
downloadvolumefactor: downloadvolumefactor: