Created a mock Sonarr container for the beta release

This commit is contained in:
2024-12-13 19:39:43 -07:00
parent 89f8a64b51
commit ea4cfeb42d
651 changed files with 134021 additions and 3267 deletions
+16 -12
View File
@@ -42,10 +42,8 @@ settings:
- name: cookie
type: text
label: Cookie
- name: info
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
- name: info_cookie
type: info_cookie
- name: freeleech
type: checkbox
label: Search freeleech only
@@ -76,6 +74,7 @@ settings:
default: "Account Retention Rules:<ol><li>Veteran Users and above will be retained forever</li><li> Insane User and above will not be deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 60 consecutive days.</li><li> Newly registered users who have no traffic for 7 days (i.e., upload/download data is 0) will be deleted.</li></ol>"
login:
# switched from the form method to the cookie method due to #9577
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
@@ -83,6 +82,11 @@ login:
path: index.php
selector: a[href="usercp.php"]
download:
selectors:
- selector: a[href^="download.php?id="]
attribute: href
search:
paths:
- path: torrents.php
@@ -122,14 +126,14 @@ search:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]
selector: a[href^="details.php?id="]
attribute: href
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href
date_elapsed:
# time type: time elapsed (default)
selector: td:nth-child(4) > span[title]
selector: td.rowfollow:nth-last-child(6) > span[title]
attribute: title
optional: true
filters:
@@ -139,7 +143,7 @@ search:
args: "yyyy-MM-dd HH:mm:ss zzz"
date_added:
# time added
selector: td:nth-child(4):not(:has(span))
selector: td.rowfollow:nth-last-child(6):not(:has(span))
optional: true
filters:
- name: append
@@ -149,13 +153,13 @@ search:
date:
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
size:
selector: td:nth-child(5)
selector: td.rowfollow:nth-last-child(5)
seeders:
selector: td:nth-child(6)
selector: td.rowfollow:nth-last-child(4)
leechers:
selector: td:nth-child(7)
selector: td.rowfollow:nth-last-child(3)
grabs:
selector: td:nth-child(8)
selector: td.rowfollow:nth-last-child(2)
downloadvolumefactor:
case:
img.pro_free: 0
@@ -175,4 +179,4 @@ search:
description:
selector: td:nth-child(2)
remove: a, b, font, img, span
# NexusPHP Standard v1.5 Beta 4
# NexusPHP Standard v1.5 Beta 4 (customised)