From 71b0df69d35367bc4fe0ed13bb003906d2d0fb87 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Tue, 6 Feb 2024 13:38:54 +0000 Subject: [PATCH] torrent9: UA to bypass linux block, tidy old cats --- src/Jackett.Common/Definitions/torrent9.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrent9.yml b/src/Jackett.Common/Definitions/torrent9.yml index 794a97b3b..0c103abef 100644 --- a/src/Jackett.Common/Definitions/torrent9.yml +++ b/src/Jackett.Common/Definitions/torrent9.yml @@ -42,7 +42,6 @@ caps: - {id: ebook, cat: Books, desc: "Books"} - {id: logiciels, cat: PC, desc: "Software"} - {id: jeux-pc, cat: PC/Games, desc: "PC Games"} - - {id: jeux-consoles, cat: Console/XBox 360, desc: "Console Games"} - {id: other, cat: Other, desc: "Other"} # dummy cat for results missing icon modes: @@ -105,6 +104,10 @@ search: - name: replace args: [" ", "-"] + headers: + # site blocks all Linux User-Agents, so use a slightly altered Windows 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"] + rows: selector: table.table-striped > tbody > tr filters: @@ -117,7 +120,6 @@ search: default: other case: i[class="fa fa-video-camera"]: films - i[class="fa fa-desktop"]: series i[class="fa fa-tv"]: series i[class="fa fa-music"]: musique i[class="fa fa-gamepad"]: jeux-pc