From 24a36bc939cde9b1e8ad3a8dfb848fd3dbbd6009 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sat, 5 Nov 2022 22:56:25 +0000 Subject: [PATCH] firebit: single search path, year for keywordless MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously we were using dedicated movie and TV pages for keywordless searches, but the layout changed and we switched to searching for the keywords `фильм` and `сериал`, which only return results from 2010-2015. --- src/Jackett.Common/Definitions/firebit.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Jackett.Common/Definitions/firebit.yml b/src/Jackett.Common/Definitions/firebit.yml index 8ee4b8bca..74d58f16a 100644 --- a/src/Jackett.Common/Definitions/firebit.yml +++ b/src/Jackett.Common/Definitions/firebit.yml @@ -5,7 +5,6 @@ description: "FireBit is an UKRAINIAN / RUSSIAN Public Torrent Tracker for MOVIE language: ru-RU type: public encoding: UTF-8 -requestDelay: 2 links: - https://firebit.net/ legacylinks: @@ -64,12 +63,9 @@ download: attribute: href search: - # http://firebit.net/index.php?do=search&type=simple&q=2019 - # http://firebit.net/%D1%84%D0%B8%D0%BB%D1%8C%D0%BC/ # movies - # http://firebit.net/%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB/ # tv + # http://firebit.net/index.php?do=search&type=simple&q=2022 paths: - - path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}{{ else }}%D1%84%D0%B8%D0%BB%D1%8C%D0%BC/{{ end }}" - - path: "{{ if .Keywords }}index.php?do=search&type=simple&q=abcd1234{{ else }}%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB/{{ end }}" + - path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}{{ else }{{ .Today.Year }}{{ end }}" rows: selector: "{{ if .Keywords }}table.torrents tbody tr:has(td.td-size){{ else }}div[id^=\"post-id-\"]:has(li.meta-size){{ end }}"