diff --git a/src/Jackett.Common/Definitions/zooqle.yml b/src/Jackett.Common/Definitions/zooqle.yml index d45944efe..f77a71bf0 100644 --- a/src/Jackett.Common/Definitions/zooqle.yml +++ b/src/Jackett.Common/Definitions/zooqle.yml @@ -10,14 +10,14 @@ caps: categories: - "zqf-anime": TV/Anime - "zqf-app": PC - "zqf-book": Books - "zqf-game": PC/Games - "zqf-movies": Movies - "zqf-music": Audio - "zqf-other": Other/Misc - "zqf-tv": TV + "anime": TV/Anime + "app": PC + "book": Books + "game": PC/Games + "movies": Movies + "music": Audio + "other": Other/Misc + "tv": TV modes: search: [q] @@ -27,10 +27,10 @@ settings: [] search: - # sorted by descending seeders and includes only verified torrents - # the movie+test+torrent search is for the TEST button, since Jackett does not pass any keywords which causes zooqle to choke + # if keyword is specified sorted by descending seeders otherwise by time + # includes only verified torrents paths: - - path: "/search?q={{if .Keywords}}{{ .Keywords}}&s=ns&v=t&sd=d{{else}}movie+test+torrent+category%3AMovies{{end}}" + - path: "/search?{{if .Keywords}}s=ns&v=t&sd=d{{ .Keywords}}{{else}}s=dt&v=t&sd=d&q= * {{end}}{{if .Categories}}category:{{range .Categories}}{{.}},{{end}}{{else}}{{end}}" rows: selector: tr:has(td[class^="text-muted3"]) fields: @@ -43,6 +43,9 @@ # extract the second class - name: split args: [" ", 1] + # remove zqf- prefix + - name: replace + args: ["zqf-", ""] details: selector: td:nth-child(2) a attribute: href