alein: selector adjustments to prevent log errors.

This commit is contained in:
Garfield69
2019-02-25 17:39:11 +13:00
parent 5ba93dd9c2
commit a512a1e6b5

View File

@@ -67,9 +67,6 @@
path: / path: /
selector: :has(a[href="logout.php"]) selector: :has(a[href="logout.php"])
download:
selector: a[href^="download.php?id="]
search: search:
paths: paths:
# http://alein.org/index.php?page=torrents&category=1%3B15%3B41%3B14%3B48%3B39%3B20%3B16%3B5%3B21%3B22%3B11&search=venom&active=1 # http://alein.org/index.php?page=torrents&category=1%3B15%3B41%3B14%3B48%3B39%3B20%3B16%3B5%3B21%3B22%3B11&search=venom&active=1
@@ -81,22 +78,35 @@
active: "1" active: "1"
rows: rows:
selector: tr.trclass selector: tr.trclass:not(:has(td.lista-cat-rec))
fields: fields:
title: title:
selector: td.lista-list a selector: td a[href*="id="]
details: details:
selector: td.lista-list a selector: td a[href*="id="]
attribute: href attribute: href
category: category:
selector: td.lista-cat a selector: td a[href*="category="]
attribute: href attribute: href
filters: filters:
- name: querystring - name: querystring
args: category args: category
download: download:
selector: td.lista-list a selector: td a[href*="id="]
attribute: href attribute: href
filters:
- name: querystring
args: id
- name: prepend
args: "download.php?id="
- name: append
args: "&f={{.Result.title}}.torrent"
banner:
selector: td a[href*="id="]
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) width="
size: size:
selector: td:nth-child(6) selector: td:nth-child(6)
seeders: seeders: