spacetorrents: now using username and password login instead of the cookie method.

This commit is contained in:
Garfield69 2019-02-10 19:47:08 +13:00
parent 90d0f5b2e0
commit a7928ea4a8
1 changed files with 8 additions and 13 deletions

View File

@ -77,25 +77,20 @@
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: cookie
type: text
label: Cookie
- name: info
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker in 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<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here</ol>"
login:
method: cookie
method: post
path: ajax/takelogin.php
inputs:
cookie: "{{ .Config.cookie }}"
snlo: "certified"
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
returnto: "/my.php"
test:
path: index
path: my.php
selector: a[href="../logout"]
ratio:
path: index
path: my.php
selector: a.nav-link i[class="ti-pulse"]
download: