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 }}"] User-Agent: ["{{ .Config.useragent }}"]
rows: rows:
selector: tr[id^="tos_"] selector: tr[id^="tos_"], tr[id^="tor_"]
fields: fields:
category: category:
@@ -782,13 +782,13 @@ search:
selector: a.title selector: a.title
attribute: href attribute: href
download: download:
selector: a[href$="/#so"] selector: a[href$="/#so"], a[href$="/#to"]
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$="/#so"] selector: a[href$="/#so"], a[href$="/#to"]
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("-"))