amigosshare: new results layout

This commit is contained in:
Garfield69 2019-04-23 19:21:57 +12:00
parent e5827c3456
commit a3e97bb050
1 changed files with 5 additions and 11 deletions

View File

@ -175,7 +175,7 @@
sort: "id"
order: "desc"
rows:
selector: table > tbody > tr:has(a[href^="torrents-details.php?id="])
selector: div#fancy-list-group ul.list-group li.list-group-item
fields:
title:
selector: a[href^="torrents-details.php?id="]
@ -185,14 +185,8 @@
download:
selector: a[href^="download.php?id="]
attribute: href
banner:
selector: a[href^="torrents-details.php?id="]
attribute: title
filters:
- name: regexp
args: "src=\"(.*?)\""
category:
selector: td:first-child img
selector: div.list-group-item-addon img
attribute: src
case:
# unfortunately the site does not have category numbers on the results page, just a .png which can apply to both movies and tv.
@ -299,11 +293,11 @@
date:
text: now
size:
selector: td:nth-child(2) span.badge-info
selector: div.list-group-item-content p.m-0 span.badge-info
seeders:
selector: td:nth-child(4)
selector: div.list-group-item-controls a:nth-child(1)
leechers:
selector: td:nth-child(5)
selector: div.list-group-item-controls a:nth-child(2)
downloadvolumefactor:
case:
"span.badge-success:contains(\"FREE\")": "0"