From af6d1ac9305b18c8af027fcb7df78cedf671b6ad Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 14 Oct 2024 14:44:30 +1300 Subject: [PATCH] assorted: adding comment re: using cookie method --- src/Jackett.Common/Definitions/empornium2fa.yml | 1 + src/Jackett.Common/Definitions/enthralled2fa.yml | 1 + src/Jackett.Common/Definitions/ex-torrenty.yml | 1 + src/Jackett.Common/Definitions/exitorrent-org.yml | 1 + src/Jackett.Common/Definitions/fuzer.yml | 1 + src/Jackett.Common/Definitions/happyfappy2fa.yml | 1 + src/Jackett.Common/Definitions/hdc.yml | 2 ++ 7 files changed, 8 insertions(+) diff --git a/src/Jackett.Common/Definitions/empornium2fa.yml b/src/Jackett.Common/Definitions/empornium2fa.yml index 5cc7ecbe7..41673ceff 100644 --- a/src/Jackett.Common/Definitions/empornium2fa.yml +++ b/src/Jackett.Common/Definitions/empornium2fa.yml @@ -77,6 +77,7 @@ settings: default: false login: + # using cookie method because login page can present second page for 2FA when enabled method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/enthralled2fa.yml b/src/Jackett.Common/Definitions/enthralled2fa.yml index abbd741d8..a011e3fd4 100644 --- a/src/Jackett.Common/Definitions/enthralled2fa.yml +++ b/src/Jackett.Common/Definitions/enthralled2fa.yml @@ -50,6 +50,7 @@ settings: default: For best results, change the Torrents per page: setting to 100 on your account profile. login: + # using cookie method because login page can present second page for 2FA when enabled method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/ex-torrenty.yml b/src/Jackett.Common/Definitions/ex-torrenty.yml index 3e0fffc43..02b799fd0 100644 --- a/src/Jackett.Common/Definitions/ex-torrenty.yml +++ b/src/Jackett.Common/Definitions/ex-torrenty.yml @@ -68,6 +68,7 @@ settings: MULTi POLISH: MULTIi POLISH login: + # using cookie method because login page has embedded Google reCAPTCHA method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/exitorrent-org.yml b/src/Jackett.Common/Definitions/exitorrent-org.yml index 971ba2a42..c5e6acb70 100644 --- a/src/Jackett.Common/Definitions/exitorrent-org.yml +++ b/src/Jackett.Common/Definitions/exitorrent-org.yml @@ -74,6 +74,7 @@ settings: asc: asc login: + # using cookie method because login page has embedded Google reCAPTCHA method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/fuzer.yml b/src/Jackett.Common/Definitions/fuzer.yml index 98a18a388..b30ffaf21 100644 --- a/src/Jackett.Common/Definitions/fuzer.yml +++ b/src/Jackett.Common/Definitions/fuzer.yml @@ -95,6 +95,7 @@ settings: asc: asc login: + # using cookie method because login page has embedded Google reCAPTCHA method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/happyfappy2fa.yml b/src/Jackett.Common/Definitions/happyfappy2fa.yml index 0b37fa806..ae8962e64 100644 --- a/src/Jackett.Common/Definitions/happyfappy2fa.yml +++ b/src/Jackett.Common/Definitions/happyfappy2fa.yml @@ -61,6 +61,7 @@ settings: default: "To keep your account active, sign in and browse the site at least once every 120 days. Seeding torrents does not count as account activity, so in order to remain active you need to sign in and browse the site. Pornstar Trainee (and above) have a longer inactivity timer, but logging in regularly is recommended to learn about special events and new features." login: + # using cookie method because login page can present second page for 2FA when enabled method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/hdc.yml b/src/Jackett.Common/Definitions/hdc.yml index cbfc74716..f3a24f26d 100644 --- a/src/Jackett.Common/Definitions/hdc.yml +++ b/src/Jackett.Common/Definitions/hdc.yml @@ -33,6 +33,8 @@ caps: music-search: [q] settings: + # not entirely sure why cookie method is being used. while the login page uses non-standard field names, the form seems regular enough. + # but since none of the team have an account we cannot switch to using form method without having any testing validation. - name: cookie type: text label: Cookie