Skip to content

Commit

Permalink
yggcookie: fix user-agent. resolves #10655
Browse files Browse the repository at this point in the history
may also fix #10951
  • Loading branch information
ilike2burnthing committed Nov 3, 2021
1 parent 7b0155c commit b7247ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Jackett.Common/Definitions/yggcookie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
user-agent: "[ .Config.useragent ]"

search:
keywordsfilters:
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit b7247ec

Please sign in to comment.