mirror of https://github.com/Jackett/Jackett
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,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
|
id: jpopsuki
|
||||||
name: JPopsuki
|
name: JPopsuki
|
||||||
|
@ -48,19 +46,16 @@ ratio:
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: torrents.php
|
- path: ajax.php
|
||||||
inputs:
|
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 }}"
|
searchstr: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
# s1 name, s2 year, s3 added, s4 size, s5 snatched, s6 seeders, s7 leechers
|
# s1 name, s2 year, s3 added, s4 size, s5 snatched, s6 seeders, s7 leechers
|
||||||
order_by: s3
|
order_by: s3
|
||||||
# desc, asc
|
# desc, asc
|
||||||
order_way: desc
|
order_way: desc
|
||||||
# basic, advanced
|
|
||||||
action: basic
|
|
||||||
# 0 any, 1 all
|
|
||||||
searchtags: 0
|
|
||||||
disablegrouping: 1
|
disablegrouping: 1
|
||||||
|
section: torrents
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#torrent_table > tbody > tr[class^="torrent"]
|
selector: table#torrent_table > tbody > tr[class^="torrent"]
|
||||||
|
|
Loading…
Reference in New Issue