hdcztorrent: remove recommended results, add magnet

This commit is contained in:
ilike2burnthing 2023-05-15 16:35:04 +01:00 committed by GitHub
parent 6e69f3611d
commit 5f754847b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -122,7 +122,7 @@ search:
by: "{{ .Config.type }}"
rows:
selector: td#mcol table.lista > tbody > tr:has(a[href^="download.php"])
selector: td#mcol table.lista > tbody > tr:has(a[href^="magnet:?xt="])
fields:
category:
@ -139,6 +139,9 @@ search:
download:
selector: a[href^="download.php"]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
poster:
selector: a[href^="index.php?page=torrent-details"]
attribute: onmouseover