diff --git a/src/Jackett.Common/Definitions/jpopsuki.yml b/src/Jackett.Common/Definitions/jpopsuki.yml index 392689b01..52c5cf5a7 100644 --- a/src/Jackett.Common/Definitions/jpopsuki.yml +++ b/src/Jackett.Common/Definitions/jpopsuki.yml @@ -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"]