mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
firebit: single search path, year for keywordless
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.
This commit is contained in:
@@ -5,7 +5,6 @@ description: "FireBit is an UKRAINIAN / RUSSIAN Public Torrent Tracker for MOVIE
|
|||||||
language: ru-RU
|
language: ru-RU
|
||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
requestDelay: 2
|
|
||||||
links:
|
links:
|
||||||
- https://firebit.net/
|
- https://firebit.net/
|
||||||
legacylinks:
|
legacylinks:
|
||||||
@@ -64,12 +63,9 @@ download:
|
|||||||
attribute: href
|
attribute: href
|
||||||
|
|
||||||
search:
|
search:
|
||||||
# http://firebit.net/index.php?do=search&type=simple&q=2019
|
# http://firebit.net/index.php?do=search&type=simple&q=2022
|
||||||
# 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
|
|
||||||
paths:
|
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={{ .Keywords }}{{ else }{{ .Today.Year }}{{ 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 }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "{{ if .Keywords }}table.torrents tbody tr:has(td.td-size){{ else }}div[id^=\"post-id-\"]:has(li.meta-size){{ end }}"
|
selector: "{{ if .Keywords }}table.torrents tbody tr:has(td.td-size){{ else }}div[id^=\"post-id-\"]:has(li.meta-size){{ end }}"
|
||||||
|
Reference in New Issue
Block a user