mazepa: new selectors

This commit is contained in:
Garfield69 2024-05-20 05:58:06 +12:00
parent a965e6984c
commit ef05301722
1 changed files with 13 additions and 7 deletions

View File

@ -202,13 +202,13 @@ search:
fields:
category:
selector: a[href^="tracker.php?f="]
attribute: href
selector: a[onclick]
attribute: onclick
filters:
- name: querystring
args: f
- name: regexp
args: f=(\d+)
title:
selector: a[href^="./viewtopic.php?t="]
selector: a.genmed
filters:
# normalize to SXXEYY format
# Ukrainian
@ -290,11 +290,14 @@ search:
- name: re_replace
args: ["(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)", "$2 $1"]
details:
selector: a[href^="./viewtopic.php?t="]
selector: a.genmed
attribute: href
download:
selector: a[href^="./dl.php?id="]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
size:
selector: a[href^="./dl.php?id="]
seeders:
@ -346,5 +349,8 @@ search:
uploadvolumefactor:
text: 1
description:
selector: a[href^="./viewtopic.php?t="]
case:
span.tor-approved: Verified
span.tor-not-approved: Unverified
span.tor-dup: Temporary
# TorrentPier