diff --git a/src/Jackett.Common/Definitions/yggcookie.yml b/src/Jackett.Common/Definitions/yggcookie.yml
index 148ceb174..2ecb79f66 100644
--- a/src/Jackett.Common/Definitions/yggcookie.yml
+++ b/src/Jackett.Common/Definitions/yggcookie.yml
@@ -98,10 +98,18 @@
- name: cookie
type: text
label: Cookie
- - name: info
+ - name: info_cookie
type: info
label: How to get the Cookie
default: "
- Login to this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button
- Refresh the page by pressing F5
- Select the Headers tab
- Find 'cookie:' in the Request Headers section
- Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
"
+ - name: useragent
+ type: text
+ label: User-Agent
+ label: User-Agent
+ - name: info_useragent
+ type: info
+ label: How to get the User-Agent
+ default: "- From the same place you fetched the cookie,
- Find 'user-agent:' in the Request Headers section
- Select and Copy the whole user-agent string (everything after 'user-agent: ') and Paste here.
"
- name: searchanddlurl
label: Search and download URL
type: text
@@ -172,14 +180,12 @@
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
- test:
- path: /
- selector: div#top_panel:contains("Déconnexion")
+ user-agent: "[ .Config.useragent ]"
search:
followredirect: true
keywordsfilters:
- # Hack For anime Search ! example : replace sonarr search of
+ # Hack For anime Search ! example : replace sonarr search of
# One Punch Man S2 10 OR One Punch Man S2 2
# BY
# One Punch Man S02E10 OR One Punch Man S02E02