mirror of https://github.com/Jackett/Jackett
bitbazis: update layout and login
This commit is contained in:
parent
40da709e0a
commit
8b15b76941
|
@ -53,12 +53,13 @@ caps:
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
- name: cookie
|
||||||
type: text
|
type: text
|
||||||
label: Username
|
label: Cookie
|
||||||
- name: password
|
- name: info
|
||||||
type: password
|
type: info
|
||||||
label: Password
|
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>"
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -67,7 +68,6 @@ settings:
|
||||||
1: title
|
1: title
|
||||||
4: added
|
4: added
|
||||||
5: size
|
5: size
|
||||||
7: seeders
|
|
||||||
- name: type
|
- name: type
|
||||||
type: select
|
type: select
|
||||||
label: Order requested from site
|
label: Order requested from site
|
||||||
|
@ -81,13 +81,9 @@ settings:
|
||||||
default: For best results, change the <b>Torrentek száma egy oldalon:</b> setting to <b>100</b> on your account profile.
|
default: For best results, change the <b>Torrentek száma egy oldalon:</b> setting to <b>100</b> on your account profile.
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
method: cookie
|
||||||
method: post
|
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
cookie: "{{ .Config.cookie }}"
|
||||||
password: "{{ .Config.password }}"
|
|
||||||
error:
|
|
||||||
- selector: table[width="920"]:contains("Hiba")
|
|
||||||
test:
|
test:
|
||||||
path: index.php
|
path: index.php
|
||||||
selector: a[href^="logout.php?k="]
|
selector: a[href^="logout.php?k="]
|
||||||
|
@ -129,29 +125,27 @@ search:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["details.php?id=", "download.php?torrent="]
|
args: ["details.php?id=", "download.php?torrent="]
|
||||||
size:
|
size:
|
||||||
selector: td:last-child
|
selector: td:nth-last-child(2)
|
||||||
date:
|
date:
|
||||||
# 2021-11-09 16:51:24
|
# 2021-11-09 16:51:24
|
||||||
selector: td:nth-last-child(2)
|
selector: td:last-child
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +01:00" # CET
|
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"
|
||||||
files:
|
|
||||||
selector: td:nth-last-child(4)
|
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(6)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "D:(\\d+)x"
|
args: "D:(\\d+)"
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(4)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "S:(\\d+)"
|
args: "S:(\\d+)"
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(5)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "L:(\\d+)"
|
args: "L:(\\d+)"
|
||||||
|
|
Loading…
Reference in New Issue