mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
jpopsuki: use ajax.php for searching and fix search query params (#9131)
* jpopsuki: if keywordless search then add Japanese tag Co-authored-by: garfield69 <garfield69@outlook.com>
This commit is contained in:
parent
cc0fe94ba1
commit
e3be12857e
1 changed files with 3 additions and 8 deletions
|
@ -1,5 +1,3 @@
|
|||
# looks like gazelle but ajax.php seems to be disabled:
|
||||
# https://jpopsuki.eu/ajax.php?action=browse&order_by=time&order_way=desc => Invalid
|
||||
---
|
||||
id: jpopsuki
|
||||
name: JPopsuki
|
||||
|
@ -48,19 +46,16 @@ ratio:
|
|||
|
||||
search:
|
||||
paths:
|
||||
- path: torrents.php
|
||||
- path: ajax.php
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
||||
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}{{ if or .Query.Artist .Keywords }}{{ else }}searchtags=japanese&tags_type=0&{{ end }}"
|
||||
searchstr: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||
# s1 name, s2 year, s3 added, s4 size, s5 snatched, s6 seeders, s7 leechers
|
||||
order_by: s3
|
||||
# desc, asc
|
||||
order_way: desc
|
||||
# basic, advanced
|
||||
action: basic
|
||||
# 0 any, 1 all
|
||||
searchtags: 0
|
||||
disablegrouping: 1
|
||||
section: torrents
|
||||
|
||||
rows:
|
||||
selector: table#torrent_table > tbody > tr[class^="torrent"]
|
||||
|
|
Loading…
Add table
Reference in a new issue