mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 06:40:57 +00:00
gktorrent: fix #1941
the dashboard test requires just the base path. categories matching requires french keywords the site does not supply a release date, so lets default to now, otherwise we get ugly "2017y old" in dashboard results.
This commit is contained in:
parent
34780f91be
commit
49a7c8df7a
1 changed files with 9 additions and 7 deletions
|
@ -28,7 +28,7 @@
|
|||
selector: a[href^="/get_torrent/"]
|
||||
|
||||
search:
|
||||
path: "/search/{{ .Query.Keywords }}"
|
||||
path: "{{if .Keywords}}/recherche/{{.Keywords}}{{else}}{{end}}"
|
||||
rows:
|
||||
selector: div.listing-torrent > table > tbody > tr:has(a)
|
||||
fields:
|
||||
|
@ -70,9 +70,11 @@
|
|||
category:
|
||||
selector: td:nth-child(1) > i
|
||||
case:
|
||||
.Movies: "movies"
|
||||
.TV: "tvshows"
|
||||
.Softwares: "softwares"
|
||||
.Music: "music"
|
||||
.Games: "games"
|
||||
.Books: "books"
|
||||
.Films: "movies"
|
||||
.Séries: "tvshows"
|
||||
.Logiciels: "softwares"
|
||||
.Musiques: "music"
|
||||
.Jeux: "games"
|
||||
.Ebooks: "books"
|
||||
date:
|
||||
text: "now"
|
||||
|
|
Loading…
Reference in a new issue