diff --git a/src/Jackett.Common/Definitions/snowpt.yml b/src/Jackett.Common/Definitions/snowpt.yml index ff09614fa..31be406a9 100644 --- a/src/Jackett.Common/Definitions/snowpt.yml +++ b/src/Jackett.Common/Definitions/snowpt.yml @@ -16,6 +16,18 @@ caps: search: [q] tv-search: [q, season, ep] +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: freeleech + type: checkbox + label: Filter freeleech only + default: false + login: path: login.php method: form @@ -42,7 +54,7 @@ search: search: "{{ .Keywords }}" rows: - selector: table.torrents > tbody > tr:has(a[href^="/download.php?id="]) + selector: "table.torrents > tbody > tr:has(a[href^=\"/download.php?id=\"]){{ if .Config.freeleech }}:has(img.sp_4){{ else }}{{ end }}" fields: category: