mirror of
https://github.com/Jackett/Jackett
synced 2024-12-27 02:09:24 +00:00
YGGtorrent: cookie login for now
This commit is contained in:
parent
655bc5c05e
commit
a6486fc233
1 changed files with 6 additions and 3 deletions
|
@ -72,6 +72,9 @@
|
|||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
|
@ -99,7 +102,7 @@
|
|||
|
||||
login:
|
||||
path: "/"
|
||||
method: post
|
||||
method: cookie # temp
|
||||
inputs:
|
||||
id: "{{ .Config.username }}"
|
||||
pass: "{{ .Config.password }}"
|
||||
|
@ -112,8 +115,8 @@
|
|||
|
||||
search:
|
||||
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: "{{ 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"
|
||||
- path: "/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&page=50"
|
||||
|
||||
rows:
|
||||
selector: "table.table > tbody > tr"
|
||||
|
|
Loading…
Reference in a new issue