mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
firebit: fix typo, homepage for keywordless, category can be missing
fixes breaking c&p typo in 24a36bc939
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)
This commit is contained in:
parent
aa69268bd4
commit
3e636cd23d
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue