xiteme: add filter freeleech. #9456

This commit is contained in:
ilike2burnthing 2023-03-29 06:54:59 +01:00 committed by GitHub
parent 1ac3c5fa65
commit 307412a64e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 9 deletions

View File

@ -8,14 +8,6 @@ encoding: UTF-8
links:
- https://x-ite.me/
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
caps:
categorymappings:
- {id: 6700, cat: TV/Anime, desc: "Animations - Adult"}
@ -88,6 +80,18 @@ caps:
movie-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
login:
method: post
path: account-login.php
@ -112,7 +116,7 @@ search:
incldead: 1
rows:
selector: tr.t-row
selector: "tr.t-row{{ if .Config.freeleech }}:has(td:nth-child(2) > a:nth-child(1) > span:nth-child(2)){{ else }}{{ end }}"
fields:
title: