From 783aa104c4851b8f9a10300d1991679242130ad4 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 7 Apr 2020 08:33:24 +1200 Subject: [PATCH] yggcookie: add user-agent. #8056 --- src/Jackett.Common/Definitions/yggcookie.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button
  5. Refresh the page by pressing F5
  6. Select the Headers tab
  7. Find 'cookie:' in the Request Headers section
  8. 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: "
  1. From the same place you fetched the cookie,
  2. Find 'user-agent:' in the Request Headers section
  3. 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