Updated mock arr container names

This commit is contained in:
2025-11-20 10:43:15 -07:00
parent b2ae5bd9d9
commit ab4c119e04
560 changed files with 137075 additions and 110038 deletions
+24 -40
View File
@@ -18,9 +18,7 @@ caps:
- {id: 406, cat: Audio/Video, desc: "Music Videos"}
- {id: 407, cat: TV/Sport, desc: "Sports"}
- {id: 408, cat: Audio, desc: "HQ Audio"}
- {id: 410, cat: PC, desc: "Software"}
- {id: 411, cat: Books, desc: "Documents"}
- {id: 412, cat: PC/Games, desc: "Games"}
- {id: 409, cat: Other, desc: "Misc"}
modes:
search: [q]
@@ -30,12 +28,11 @@ caps:
book-search: [q]
settings:
- name: username
- name: cookie
type: text
label: Username
- name: password
type: password
label: Password
label: Cookie
- name: info_cookie
type: info_cookie
- name: freeleech
type: checkbox
label: Search freeleech only
@@ -68,23 +65,10 @@ settings:
default: "Cherish your account. Inactive accounts will be deleted based on the following provisions:<ol><li>Nexus Master or later will not be deleted account.</li><li>Veteran User or higher will not be deleted if temporarily locked (at User Settings).</li><li>Temporarily locked accounts will be deleted if not logged in within 90 days.</li><li>Accounts that are not temporarily locked will be deleted if they do not log in within 60 days.</li><li>Accounts with no storage for uploads and downloads will be deleted if they do not log in within 30 days or have registered within 14 days.</li></ol>"
login:
path: login.php
method: form
form: form[action="takelogin.php"]
captcha:
type: image
selector: img[alt="CAPTCHA"]
input: imagestring
# using cookie method because site does a JS call to API/Challenge via JQuery to load response parm required for takelogin.php
method: cookie
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
logout: ""
securelogin: ""
ssl: yes
trackerssl: yes
error:
- selector: td.embedded:has(h2:contains("Đăng nhập thất bại!")) # Login failed!
- selector: td.embedded:has(h2:contains("Thất bại")) # Failure (captcha)
cookie: "{{ .Config.cookie }}"
test:
path: index.php
selector: a[href="logout.php"]
@@ -101,7 +85,7 @@ search:
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 title, 1 descr, 3 uploader, 4 imdburl
search_area: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
# 0 AND, 1 OR, 2 exact
# 0 AND, 2 exact
search_mode: 0
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
@@ -112,23 +96,23 @@ search:
fields:
category:
selector: a[href^="?cat="]
selector: a[href*="?cat="]
attribute: href
filters:
- name: querystring
args: cat
title_default:
selector: a[href^="details.php?id="]
selector: a[href*="details.php?id="]
title:
selector: a[title][href^="details.php?id="]
selector: a[title][href*="details.php?id="]
attribute: title
optional: true
default: "{{ .Result.title_default }}"
details:
selector: a[href^="details.php?id="]
selector: a[href*="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]
selector: a[href*="download.php?id="]
attribute: href
poster:
selector: img[data-src]
@@ -138,7 +122,7 @@ search:
attribute: href
date_elapsed:
# time type: time elapsed (default)
selector: td.rowfollow:nth-child(5) > span[title]
selector: td.rowfollow:nth-child(4) > span[title]
attribute: title
optional: true
filters:
@@ -148,7 +132,7 @@ search:
args: "yyyy-MM-dd HH:mm:ss zzz"
date_added:
# time added
selector: td.rowfollow:nth-child(5):not(:has(span))
selector: td.rowfollow:nth-child(4):not(:has(span))
optional: true
filters:
- name: append
@@ -158,13 +142,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.rowfollow:nth-child(6)
selector: td.rowfollow:nth-child(5)
seeders:
selector: td.rowfollow:nth-child(7)
selector: td.rowfollow:nth-child(6)
leechers:
selector: td.rowfollow:nth-child(8)
selector: td.rowfollow:nth-child(7)
grabs:
selector: td.rowfollow:nth-child(9)
selector: td.rowfollow:nth-child(8)
downloadvolumefactor:
case:
img.pro_free: 0
@@ -180,9 +164,9 @@ search:
img.pro_2up: 2
"*": 1
minimumseedtime:
# 3 days (as seconds = 3 x 24 x 60 x 60)
text: 259200
# 5 days (as seconds = 5 x 24 x 60 x 60)
text: 432000
description:
selector: td:nth-child(3)
selector: td:nth-child(2)
remove: a, b, font, img, span
# NexusPHP 3ChangTrai v3.0 2020-04-30
# NexusPHP v1.9.9 2025-10-02