1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 06:03:09 +00:00

yggcookie: fix user-agent. resolves #10655

may also fix #10951
This commit is contained in:
ilike2burnthing 2021-11-03 04:30:45 +00:00 committed by GitHub
parent 7b0155cc68
commit b7247ec944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,6 @@ login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
user-agent: "[ .Config.useragent ]"
search:
keywordsfilters:
@ -222,6 +221,9 @@ search:
- path: "engine/search?category={{ .Config.category }}&name={{ if .Keywords }}{{ re_replace .Keywords \"[sS]0(\\d{1,2})\" \"Saison.$1\"}}{{ else }}&page=50{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
followredirect: true
headers:
User-Agent: ["{{ .Config.useragent }}"]
rows:
selector: table.table > tbody > tr