mirror of https://github.com/Jackett/Jackett
audiobooktorrents: add info about unread PM. resolves #7422
fix files selector add engine tag
This commit is contained in:
parent
682304d186
commit
4ed5507e4d
|
@ -1,4 +1,4 @@
|
||||||
---
|
---
|
||||||
site: audiobooktorrents
|
site: audiobooktorrents
|
||||||
name: Audiobook Torrents
|
name: Audiobook Torrents
|
||||||
description: "Audiobook Torrents (ABT) is a Private Torrent Tracker for AUDIOBOOKS"
|
description: "Audiobook Torrents (ABT) is a Private Torrent Tracker for AUDIOBOOKS"
|
||||||
|
@ -44,15 +44,27 @@
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: info_results
|
||||||
|
type: info
|
||||||
|
label: Search results
|
||||||
|
default: "If you are getting the error <b>Login Failed, got redirected</b> then access the site with your browser and <b>mark as read</b> all PMs."
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: takelogin.php
|
path: takelogin.php
|
||||||
method: post
|
method: post
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
use_ssl: "1"
|
use_ssl: 1
|
||||||
perm_ssl: "1"
|
perm_ssl: 1
|
||||||
submitme: "X"
|
submitme: X
|
||||||
error:
|
error:
|
||||||
- selector: td.embedded:has(h2:contains("Oops"))
|
- selector: td.embedded:has(h2:contains("Oops"))
|
||||||
- selector: td.embedded:has(h2:contains("failed"))
|
- selector: td.embedded:has(h2:contains("failed"))
|
||||||
|
@ -65,58 +77,38 @@
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
searchin: "title"
|
searchin: title
|
||||||
incldead: "1"
|
incldead: 1
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr.browse_color, tr.freeleech_color, tr[id^="kdescr"]
|
selector: tr.browse_color, tr.freeleech_color, tr[id^="kdescr"]
|
||||||
after: 1
|
after: 1
|
||||||
|
|
||||||
fields: # some users (rank specific?) have an extra column (td:nth-child(4)) with bookmark features
|
fields: # some users (rank specific?) have an extra column (td:nth-child(4)) with bookmark features
|
||||||
banner:
|
|
||||||
selector: a[href^="details.php?id="][onmouseover]
|
|
||||||
attribute: onmouseover
|
|
||||||
filters:
|
|
||||||
- name: regexp
|
|
||||||
args: src=\'(.*?)\'
|
|
||||||
title:
|
|
||||||
selector: a[href^="details.php?id="][onmouseover]
|
|
||||||
attribute: onmouseover
|
|
||||||
filters:
|
|
||||||
- name: regexp
|
|
||||||
args: Tip\('<b>(.*?)</b>
|
|
||||||
category:
|
category:
|
||||||
selector: a[href^="browse.php?cat="]
|
selector: a[href^="browse.php?cat="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
|
title:
|
||||||
|
selector: a[href^="details.php?id="][onmouseover]
|
||||||
|
attribute: onmouseover
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: Tip\('<b>(.*?)</b>
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="][onmouseover]
|
selector: a[href^="details.php?id="][onmouseover]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php"]
|
selector: a[href^="download.php"]
|
||||||
attribute: href
|
attribute: href
|
||||||
files:
|
banner:
|
||||||
selector: a[href^="filelist.php"]
|
selector: a[href^="details.php?id="][onmouseover]
|
||||||
size:
|
attribute: onmouseover
|
||||||
selector: td:nth-last-child(6)
|
|
||||||
grabs:
|
|
||||||
selector: td:nth-last-child(5)
|
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: ([\d,]+)
|
args: src=\'(.*?)\'
|
||||||
seeders:
|
|
||||||
selector: td:nth-last-child(4)
|
|
||||||
leechers:
|
|
||||||
selector: td:nth-last-child(3)
|
|
||||||
date:
|
|
||||||
selector: td:nth-last-child(7)
|
|
||||||
downloadvolumefactor:
|
|
||||||
case:
|
|
||||||
"a.info > b:contains(\"[FREE]\")": "0"
|
|
||||||
"*": "1"
|
|
||||||
uploadvolumefactor:
|
|
||||||
case:
|
|
||||||
"*": "1"
|
|
||||||
description:
|
description:
|
||||||
selector: a[href^="details.php?id="][onmouseover]
|
selector: a[href^="details.php?id="][onmouseover]
|
||||||
attribute: onmouseover
|
attribute: onmouseover
|
||||||
|
@ -130,7 +122,29 @@
|
||||||
- name: prepend
|
- name: prepend
|
||||||
args: "{{ .Result.description }}<br>\n"
|
args: "{{ .Result.description }}<br>\n"
|
||||||
description:
|
description:
|
||||||
selector: td[colspan=13]
|
selector: td[colspan="13"]
|
||||||
filters:
|
filters:
|
||||||
- name: prepend
|
- name: prepend
|
||||||
args: "{{ .Result.description }}<br>\n"
|
args: "{{ .Result.description }}<br>\n"
|
||||||
|
files:
|
||||||
|
selector: td:nth-last-child(9)
|
||||||
|
date:
|
||||||
|
selector: td:nth-last-child(7)
|
||||||
|
size:
|
||||||
|
selector: td:nth-last-child(6)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-last-child(5)
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (\d+)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-last-child(4)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-last-child(3)
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
"a.info > b:contains(\"[FREE]\")": 0
|
||||||
|
"*": 1
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# U-232 V4
|
||||||
|
|
Loading…
Reference in New Issue