piratbit: DL no longer in results, fetch from details page

This commit is contained in:
Garfield69
2023-10-17 07:09:36 +13:00
parent a93c9c8002
commit 8b5bedac10

View File

@@ -656,6 +656,11 @@ 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[href^="/dl.php?id="]
attribute: href
search: search:
paths: paths:
- path: tracker/ - path: tracker/
@@ -698,7 +703,7 @@ search:
User-Agent: ["{{ .Config.useragent }}"] User-Agent: ["{{ .Config.useragent }}"]
rows: rows:
selector: tr[id^="tor_"]:has(a[href*="/dl.php?id="]) selector: tr[id^="tor_"]
fields: fields:
category: category:
@@ -777,13 +782,13 @@ search:
selector: a.title selector: a.title
attribute: href attribute: href
download: download:
selector: a[href*="/dl.php?id="] selector: a[href$="/#do"]
attribute: href attribute: href
description: description:
selector: td:first-child b span selector: td:first-child b span
attribute: title attribute: title
size: size:
selector: a[href*="/dl.php?id="] selector: a[href$="/#do"]
date_day: date_day:
# 23:18 # 23:18
selector: td:last-child > p:first-child:not(:contains("-")) selector: td:last-child > p:first-child:not(:contains("-"))