piratbit: add descr, DL .torrent with magnet standby

This commit is contained in:
Garfield69
2022-07-03 16:14:11 +12:00
parent 9722152a28
commit 3234b66ba4
2 changed files with 15 additions and 3 deletions

View File

@@ -748,6 +748,9 @@ search:
download: download:
selector: td a.genmed selector: td a.genmed
attribute: href attribute: href
description:
selector: td:first-child span
attribute: title
size: size:
selector: td > u selector: td > u
date: date:

View File

@@ -675,6 +675,13 @@ login:
path: index.php path: index.php
selector: li a[href="/login.php?logout=1"] selector: li a[href="/login.php?logout=1"]
download:
selectors:
- selector: a[class="btn btn-sm btn-success"][href^="/dl.php?id="]
attribute: href
- selector: a[href^="magnet:?xt="]
attribute: href
search: search:
paths: paths:
- path: tracker.php - path: tracker.php
@@ -711,7 +718,7 @@ search:
submit: "Поиск" submit: "Поиск"
rows: rows:
selector: tr[id^="tor_"]:not(:has(span[title="закрыто"])):not(:has(span[title="авторское право"])):not(:has(span[title="неоформлено"])) selector: tr[id^="tor_"]:not(:has(span[title="закрыто"]))
filters: filters:
- name: andmatch - name: andmatch
@@ -762,11 +769,13 @@ search:
selector: td a.genmed selector: td a.genmed
attribute: href attribute: href
download: download:
selector: td div a.dLink selector: td a.genmed
attribute: href attribute: href
description:
selector: td:first-child span
attribute: title
size: size:
selector: td > u selector: td > u
# 2 date flavours for 3 languages
date: date:
# unix # unix
selector: td[title="Добавлен"] > u, td[title="Added"] > u selector: td[title="Добавлен"] > u, td[title="Added"] > u