mirror of https://github.com/Jackett/Jackett
YGGtorrent: cookie login for now
This commit is contained in:
parent
655bc5c05e
commit
a6486fc233
|
@ -72,6 +72,9 @@
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
- name: cookie
|
||||||
|
type: text
|
||||||
|
label: Cookie
|
||||||
- name: username
|
- name: username
|
||||||
type: text
|
type: text
|
||||||
label: Username
|
label: Username
|
||||||
|
@ -99,7 +102,7 @@
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: "/"
|
path: "/"
|
||||||
method: post
|
method: cookie # temp
|
||||||
inputs:
|
inputs:
|
||||||
id: "{{ .Config.username }}"
|
id: "{{ .Config.username }}"
|
||||||
pass: "{{ .Config.password }}"
|
pass: "{{ .Config.password }}"
|
||||||
|
@ -112,8 +115,8 @@
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search{{else}}/top/day?category=2145{{end}}"
|
- path: "/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search"
|
||||||
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&page=50{{else}}/top/day?category=2145&page=50{{end}}"
|
- path: "/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&page=50"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "table.table > tbody > tr"
|
selector: "table.table > tbody > tr"
|
||||||
|
|
Loading…
Reference in New Issue