From ad26f91ecd1fc1074be958d3ca53b5b91fd61c7b Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 14 Oct 2024 21:19:45 +1300 Subject: [PATCH] assorted: adding comment re: using cookie method --- src/Jackett.Common/Definitions/majomparade.yml | 1 + src/Jackett.Common/Definitions/masters-tb.yml | 1 + src/Jackett.Common/Definitions/newheaven.yml | 1 + src/Jackett.Common/Definitions/okpt.yml | 1 + src/Jackett.Common/Definitions/opencd.yml | 1 + src/Jackett.Common/Definitions/ourbits.yml | 1 + src/Jackett.Common/Definitions/pier720.yml | 1 + src/Jackett.Common/Definitions/pignetwork.yml | 1 + src/Jackett.Common/Definitions/pixelcove2fa.yml | 1 + src/Jackett.Common/Definitions/proaudiotorrents.yml | 1 + src/Jackett.Common/Definitions/pterclub.yml | 1 + src/Jackett.Common/Definitions/pthome.yml | 1 + 12 files changed, 12 insertions(+) diff --git a/src/Jackett.Common/Definitions/majomparade.yml b/src/Jackett.Common/Definitions/majomparade.yml index 064e69bdf..669d861e1 100644 --- a/src/Jackett.Common/Definitions/majomparade.yml +++ b/src/Jackett.Common/Definitions/majomparade.yml @@ -72,6 +72,7 @@ settings: default: "Users who have been inactive for more than 25 weeks are automatically deleted." login: + # using cookie method because login page is using some some hidden security check method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/masters-tb.yml b/src/Jackett.Common/Definitions/masters-tb.yml index 5a23a5a0f..53714b693 100644 --- a/src/Jackett.Common/Definitions/masters-tb.yml +++ b/src/Jackett.Common/Definitions/masters-tb.yml @@ -78,6 +78,7 @@ settings: default: For best results, change the Tоренти на страница: setting to 100 on your account profile. The default is 20. login: + # using cookie method because login page has embedded Google reCAPTCHA method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/newheaven.yml b/src/Jackett.Common/Definitions/newheaven.yml index 2655acc7d..5b0217754 100644 --- a/src/Jackett.Common/Definitions/newheaven.yml +++ b/src/Jackett.Common/Definitions/newheaven.yml @@ -65,6 +65,7 @@ caps: book-search: [q] settings: + # using cookie method because I could not get the form method to work when converting broken C# indexer to yaml #15527 - name: cookie type: text label: Cookie diff --git a/src/Jackett.Common/Definitions/okpt.yml b/src/Jackett.Common/Definitions/okpt.yml index c73602ccc..b13f9a96f 100644 --- a/src/Jackett.Common/Definitions/okpt.yml +++ b/src/Jackett.Common/Definitions/okpt.yml @@ -75,6 +75,7 @@ settings: default: "Account retention rules:" login: + # using cookie method because site regularly disables login page for certain events during the year method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/opencd.yml b/src/Jackett.Common/Definitions/opencd.yml index e466d6e8f..59303674b 100644 --- a/src/Jackett.Common/Definitions/opencd.yml +++ b/src/Jackett.Common/Definitions/opencd.yml @@ -64,6 +64,7 @@ settings: default: For best results, change the Torrents per page: setting to 100 on your account profile. Default is 50. login: + # switched from the form method to the cookie method due to https://github.com/Prowlarr/Prowlarr/issues/792 method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/ourbits.yml b/src/Jackett.Common/Definitions/ourbits.yml index 16cd0c451..3f4474566 100644 --- a/src/Jackett.Common/Definitions/ourbits.yml +++ b/src/Jackett.Common/Definitions/ourbits.yml @@ -64,6 +64,7 @@ settings: default: "Cherish your user account. Inactive accounts would be deleted based on the following rules:
  1. Veteran User or above would never be deleted
  2. Elite User or above would never be deleted if parked (at User CP)
  3. Parked accounts would be deleted if users have not logged in for more than 400 days in a row
  4. Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row
  5. Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 7 days in a row.
" login: + # switched from the form method to the cookie method due to #8881 method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/pier720.yml b/src/Jackett.Common/Definitions/pier720.yml index 473c89721..6a6d4e36b 100644 --- a/src/Jackett.Common/Definitions/pier720.yml +++ b/src/Jackett.Common/Definitions/pier720.yml @@ -114,6 +114,7 @@ settings: a: asc login: + # switched from the form method to the cookie method in Nov 2020, reason not provided method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/pignetwork.yml b/src/Jackett.Common/Definitions/pignetwork.yml index c60265c5e..b20b6e42d 100644 --- a/src/Jackett.Common/Definitions/pignetwork.yml +++ b/src/Jackett.Common/Definitions/pignetwork.yml @@ -77,6 +77,7 @@ settings: default: "Account retention rules:" login: + # using cookie method because site regularly disables login page for certain events during the year #14310 method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/pixelcove2fa.yml b/src/Jackett.Common/Definitions/pixelcove2fa.yml index 362f746ab..12a77297d 100644 --- a/src/Jackett.Common/Definitions/pixelcove2fa.yml +++ b/src/Jackett.Common/Definitions/pixelcove2fa.yml @@ -64,6 +64,7 @@ caps: book-search: [q] settings: + # using cookie method because login page can present second page for 2FA when enabled - name: cookie type: text label: Cookie diff --git a/src/Jackett.Common/Definitions/proaudiotorrents.yml b/src/Jackett.Common/Definitions/proaudiotorrents.yml index cccbe602a..7cabb677f 100644 --- a/src/Jackett.Common/Definitions/proaudiotorrents.yml +++ b/src/Jackett.Common/Definitions/proaudiotorrents.yml @@ -67,6 +67,7 @@ settings: default: "12 weeks exactly. You will need to log in before that amount of time has elapsed to keep your account active." login: + # using cookie method because login page has embedded Google reCAPTCHA method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/pterclub.yml b/src/Jackett.Common/Definitions/pterclub.yml index 0090ca0c4..637c66ed2 100644 --- a/src/Jackett.Common/Definitions/pterclub.yml +++ b/src/Jackett.Common/Definitions/pterclub.yml @@ -73,6 +73,7 @@ settings: default: "Account retention rules:
  1. All accounts will be permanently protected and will not be deleted; however, due to site security, some users will be temporarily banned due to activity rules
  2. New users with no traffic changes will be disabled after 7 days of registration (not the actual download volume)
  3. Those who download free torrents without generating any upload volume, or simply auxiliary torrents that generate magic power without any uploads will still be banned
  4. Users with a non-parked account will be disabled if they do not log in for 60 consecutive days
  5. Users with a parked account will be disabled if they do not log in for 180 consecutive days
  6. Angora/Veteran User and above will not be disabled after parking
  7. Sichuan Jianzhou Cat/Nexus Master users and above will be retained forever.
" login: + # using cookie method because login page has embedded Clouflare turnstile method: cookie inputs: cookie: "{{ .Config.cookie }}" diff --git a/src/Jackett.Common/Definitions/pthome.yml b/src/Jackett.Common/Definitions/pthome.yml index 5c3925449..e306612fc 100644 --- a/src/Jackett.Common/Definitions/pthome.yml +++ b/src/Jackett.Common/Definitions/pthome.yml @@ -47,6 +47,7 @@ settings: default: For best results, change the Torrents per page: setting to 100 on your account profile. login: + # using cookie method because I could not get the form method to work when I first created the indexer, some hidden security check method: cookie inputs: cookie: "{{ .Config.cookie }}"