From ff305cdef7d588ca30c3e2ce01b9e5a0b829004d Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Wed, 22 Feb 2023 13:50:14 +0000 Subject: [PATCH] cloudtorrents & polishsource: change user-agent. resolves #14065 (#14068) --- src/Jackett.Common/Definitions/cloudtorrents.yml | 4 ++-- src/Jackett.Common/Definitions/polishsource.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Definitions/cloudtorrents.yml b/src/Jackett.Common/Definitions/cloudtorrents.yml index 25f1e5140..7108efcef 100644 --- a/src/Jackett.Common/Definitions/cloudtorrents.yml +++ b/src/Jackett.Common/Definitions/cloudtorrents.yml @@ -36,8 +36,8 @@ download: search: headers: - # site blocks automation User-Agents, so slightly alter it here (e.g. Safari/537.37 > Safari/537.36) - User-Agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"] + # site blocks Prowlarr's User-Agents, so use a slightly altered Jackett UA here (e.g. Safari/537.36 > Safari/537.35) + User-Agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.35"] paths: - path: "{{ if .Keywords }}search?query={{ .Keywords }}{{ else }}latest{{ end }}" diff --git a/src/Jackett.Common/Definitions/polishsource.yml b/src/Jackett.Common/Definitions/polishsource.yml index 996fab919..658672b41 100644 --- a/src/Jackett.Common/Definitions/polishsource.yml +++ b/src/Jackett.Common/Definitions/polishsource.yml @@ -88,8 +88,8 @@ login: search: headers: - # site blocks automation User-Agents, so slightly alter it here (e.g. Safari/537.37 > Safari/537.36) - User-Agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"] + # site blocks Prowlarr's User-Agents, so use a slightly altered Jackett UA here (e.g. Safari/537.36 > Safari/537.35) + User-Agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.35"] paths: # https://polishsource.cz/browse.php?search=tt1598778&incldead=1&scene=0&pl=0&sub=&search_in=nfo