assorted unit3d 1.9.* add freeleech filter #9456

This commit is contained in:
Garfield69 2020-09-09 10:23:46 +12:00
parent c7e5b562d7
commit 6f503af9e1
6 changed files with 46 additions and 1 deletions

View File

@ -35,6 +35,10 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@ -95,6 +99,7 @@ search:
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
selector: table > tbody > tr selector: table > tbody > tr

View File

@ -22,6 +22,18 @@ caps:
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
login: login:
path: login path: login
method: form method: form
@ -65,6 +77,7 @@ search:
sort: created_at sort: created_at
direction: desc direction: desc
qty: 100 qty: 100
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
selector: table > tbody > tr selector: table > tbody > tr

View File

@ -28,6 +28,18 @@ caps:
movie-search: [q, imdbid] movie-search: [q, imdbid]
music-search: [q] music-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
login: login:
path: login path: login
method: form method: form
@ -70,6 +82,7 @@ search:
sort: created_at sort: created_at
direction: desc direction: desc
qty: 100 qty: 100
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
selector: table > tbody > tr selector: table > tbody > tr

View File

@ -37,7 +37,10 @@ settings:
type: info type: info
label: How to get the Cookie label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>" default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@ -85,6 +88,7 @@ search:
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
selector: table > tbody > tr selector: table > tbody > tr

View File

@ -38,6 +38,10 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@ -97,6 +101,7 @@ search:
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
selector: table > tbody > tr selector: table > tbody > tr

View File

@ -37,6 +37,10 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@ -95,6 +99,7 @@ search:
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
selector: table > tbody > tr selector: table > tbody > tr