1
0
Fork 0
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:
kaso17 2018-04-03 23:06:06 +02:00
parent 655bc5c05e
commit a6486fc233

View file

@ -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"