piratbitl: handle both tor_ and tos_

But if this changes one more time then I'm pulling the plug
This commit is contained in:
Garfield69
2023-10-18 06:50:01 +13:00
parent 35555c113c
commit b31fe34640

View File

@@ -703,7 +703,7 @@ search:
User-Agent: ["{{ .Config.useragent }}"]
rows:
selector: tr[id^="tos_"]
selector: tr[id^="tos_"], tr[id^="tor_"]
fields:
category:
@@ -782,13 +782,13 @@ search:
selector: a.title
attribute: href
download:
selector: a[href$="/#so"]
selector: a[href$="/#so"], a[href$="/#to"]
attribute: href
description:
selector: td:first-child b span
attribute: title
size:
selector: a[href$="/#so"]
selector: a[href$="/#so"], a[href$="/#to"]
date_day:
# 23:18
selector: td:last-child > p:first-child:not(:contains("-"))