diff --git a/src/Jackett.Common/Definitions/riperam.yml b/src/Jackett.Common/Definitions/riperam.yml
index 1eb0f6809..bab0026b5 100644
--- a/src/Jackett.Common/Definitions/riperam.yml
+++ b/src/Jackett.Common/Definitions/riperam.yml
@@ -796,20 +796,12 @@ caps:
book-search: [q]
settings:
- - name: cookie
+ - name: username
type: text
- label: Cookie
- - name: info
- type: info
- label: How to get the Cookie
- default: "
- Login to this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button (Chrome Browser) or HTML button (FireFox)
- Refresh the page by pressing F5
- Click on the first row entry
- Select the Headers tab on the Right panel
- Find 'cookie:' in the Request Headers section
- Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
"
- - name: useragent
- type: text
- label: User-Agent
- - name: info_useragent
- type: info
- label: How to get the User-Agent
- default: "- From the same place you fetched the cookie,
- Find 'user-agent:' in the Request Headers section
- Select and Copy the whole user-agent string (everything after 'user-agent: ') and Paste here.
"
+ label: Username
+ - name: password
+ type: password
+ label: Password
- name: stripcyrillic
type: checkbox
label: Strip Cyrillic Letters
@@ -836,19 +828,22 @@ settings:
a: asc
login:
- method: cookie
+ path: ucp.php?mode=login
+ method: form
+ form: form#login
inputs:
- cookie: "{{ .Config.cookie }}"
-
+ username: "{{ .Config.username }}"
+ password: "{{ .Config.password }}"
+ autologin: on
+ error:
+ - selector: fieldset:has(div.error)
test:
path: /
- selector: :has(a[href*="ucp.php?mode=logout"])
+ selector: :has(a[href*="/ucp.php?mode=logout&sid="])
search:
- headers:
- User-Agent: ["{{ .Config.useragent }}"]
paths:
- # http://riperam.org/search.php?tracker_search=torrent&keywords=2023&terms=all&fp=0&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0
+ # http://riperam.org/search.php?tracker_search=torrent&keywords=captain&terms=all&fp=1&author=&fid[]=1404&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0
- path: search.php
inputs:
$raw: "{{ range .Categories }}&fid[]={{.}}{{end}}"