diff --git a/src/Jackett.Common/Definitions/film-paleis.yml b/src/Jackett.Common/Definitions/film-paleis.yml index b325929b3..899e6d6a7 100644 --- a/src/Jackett.Common/Definitions/film-paleis.yml +++ b/src/Jackett.Common/Definitions/film-paleis.yml @@ -41,12 +41,13 @@ caps: music-search: [q] settings: - - name: username + - name: cookie type: text - label: Username - - name: password - type: password - label: Password + label: Cookie + - name: info_cookie + type: info + label: How to get the Cookie + default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" - name: thankyou type: text label: Thank You Comment @@ -56,13 +57,9 @@ settings: default: This site requires you to leave a Thank You comment before you can download. Enter your personalised comment above. Minimum of at least 10 characters. login: - path: takelogin.php - method: post + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - error: - - selector: table.main:contains("Aanmelden mislukt") + cookie: "{{ .Config.cookie }}" test: path: / selector: a[href="logout.php"] @@ -84,7 +81,7 @@ search: - path: browse.php inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" incldead: 1 # does not return imdb link in results @@ -98,11 +95,11 @@ search: selector: a[href^="details.php?id="] filters: - name: re_replace - args: ["([Ss]eizoen|[Ss]eizoen )(\\d{1,2})", "S$2"] + args: ["(?i)(seizoen\\s*)(\\d{1,2})", "S$2"] - name: re_replace - args: ["([Aa]fl.|[Aa]fl. | [Aa]fl. |[Aa]flevering|[Aa]flevering | [Aa]flevering )(\\d{1,2})", "E$2"] + args: ["(?i)(afl.\\s*|aflevering\\s*)(\\d{1,2})", "E$2"] - name: re_replace - args: ["[Cc]ompleet", "Complete"] + args: ["(?i)compleet", "Complete"] details: selector: a[href^="details.php?id="] attribute: href @@ -162,8 +159,10 @@ search: args: ["december", "December"] - name: re_replace args: ["\\s*om\\s*", " "] + - name: append + args: " +01:00" # CET - name: dateparse - args: "2 January 2006 15:04:05" + args: "2 January 2006 15:04:05 -07:00" seeders: text: 0 seeders: