From 3e636cd23d3232ff0d29091749835b6e65fc9069 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sun, 6 Nov 2022 20:56:39 +0000 Subject: [PATCH] firebit: fix typo, homepage for keywordless, category can be missing fixes breaking c&p typo in 24a36bc939cde9b1e8ad3a8dfb848fd3dbbd6009 revert to 2 searches, but change to homepage (I completely misread the paths before, and the rows and selectors should have been edited anyway) category can be missing on homepage (or any of the category pages) --- src/Jackett.Common/Definitions/firebit.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/firebit.yml b/src/Jackett.Common/Definitions/firebit.yml index 74d58f16a..52192ea96 100644 --- a/src/Jackett.Common/Definitions/firebit.yml +++ b/src/Jackett.Common/Definitions/firebit.yml @@ -5,6 +5,7 @@ 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: @@ -65,7 +66,8 @@ download: search: # http://firebit.net/index.php?do=search&type=simple&q=2022 paths: - - path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}{{ else }{{ .Today.Year }}{{ end }}" + - path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}{{ else }}{{ end }}" + - path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}&cstart=2{{ else }}%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0/2/{{ end }}" rows: selector: "{{ if .Keywords }}table.torrents tbody tr:has(td.td-size){{ else }}div[id^=\"post-id-\"]:has(li.meta-size){{ end }}" @@ -74,6 +76,9 @@ search: fields: category: + text: "-" + category|noappend: + optional: true selector: td:nth-child(1), div.article-indent div b filters: - name: replace