mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
YGGtorrent: cookie login for now
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user