the-devils-lounge: update site layout

also add date and poster
This commit is contained in:
ilike2burnthing 2021-12-07 01:18:05 +00:00 committed by GitHub
parent d8dccfcc47
commit 209f9d511a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 9 deletions

View File

@ -144,15 +144,26 @@ search:
args: cat args: cat
title: title:
selector: td a[href^="torrents-details.php?id="] selector: td a[href^="torrents-details.php?id="]
attribute: title
details: details:
selector: td a[href^="torrents-details.php?id="] selector: td a[href^="torrents-details.php?id="]
attribute: href attribute: href
download: download:
selector: td a[href^="torrents-details.php?id="] selector: td a[href^="torrents-details.php?id="]
attribute: href attribute: href
poster:
selector: td a[href^="torrents-details.php?id="]
attribute: onmouseover
filters:
- name: regexp
args: "img\\ssrc=\\\\'(http.+?)\\\\'"
date: date:
text: now selector: td a[href^="torrents-details.php?id="]
attribute: onmouseover
filters:
- name: regexp
args: "Date\\sAdded\\s:(\\d{2}-\\d{2}-\\d{4})"
- name: dateparse
args: "02-01-2006"
size: size:
selector: td:nth-child(6) selector: td:nth-child(6)
seeders: seeders:
@ -166,16 +177,12 @@ search:
- name: replace - name: replace
args: [",", ""] args: [",", ""]
description: description:
selector: td:last-of-type:contains("E") selector: td:last-of-type img
filters: attribute: title
- name: replace
args: ["E", "External"]
- name: replace
args: ["L", "Local"]
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src$="/images/free.gif"]: 0 img[src$="/images/free.gif"]: 0
"td:last-of-type:contains(\"E\")": 0 # all external torrents are free td:last-of-type img[title="Extern"]: 0 # all external torrents are free
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1