diff --git a/src/Jackett.Common/Definitions/theshow.yml b/src/Jackett.Common/Definitions/theshow.yml index 628488696..d550d1424 100644 --- a/src/Jackett.Common/Definitions/theshow.yml +++ b/src/Jackett.Common/Definitions/theshow.yml @@ -67,6 +67,38 @@ caps: modes: search: [q] +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: added + options: + added: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: DESC + options: + DESC: desc + ASC: asc + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + login: path: login.php method: form @@ -82,6 +114,7 @@ login: - selector: table:contains("Login failed!") test: path: main.php + selector: a[href^="logout.php?id="] search: paths: @@ -89,6 +122,8 @@ search: inputs: $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" search: "{{ .Keywords }}" + # 0 active, 1 incldead, 2 onlydead, 3 free, 4 exclusive, 5 neutral + incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}" titleonly: 1 # 0 Exact, 1 Fuzzy, 3 Parsed, 4 Simple # 2 Pure is not used nonboolean: 0 @@ -104,8 +139,8 @@ search: - name: querystring args: cat title: - filters: - selector: td:nth-child(2) b + selector: a[href^="details.php?id="] + attribute: title details: selector: a[href^="details.php?id="] attribute: href @@ -117,8 +152,10 @@ search: date: selector: td:nth-child(6) filters: - - name: regexp - args: (\d{4}-\d{2}-\d{2}) + - name: append + args: " +00:00" # auto adjusted by site account profile + - name: dateparse + args: "2006-01-0215:04:05 -07:00" size: selector: td:nth-child(7) grabs: @@ -141,4 +178,9 @@ search: case: "font[color=\"green\"]": 0 "*": 1 -# engine tbd + minimumratio: + text: 1.0 + minimumseedtime: + # 1 day (as seconds = 24 x 60 x 60) + text: 86400 +# XBTT TCG 0.98