arabtorrents: update layout

This commit is contained in:
Bogdan 2023-05-22 02:47:22 +03:00
parent c53933f307
commit c56f32695a
1 changed files with 8 additions and 8 deletions

View File

@ -145,7 +145,7 @@ download:
path: takethanks.php path: takethanks.php
method: post method: post
inputs: inputs:
torrentid: "{{ .DownloadUri.Query.id }}" torrentid: "{{ re_replace .DownloadUri.PathAndQuery \".*download-torrent-(\\d+).*\" \"$1\"}}"
search: search:
paths: paths:
@ -169,22 +169,22 @@ search:
args: ["^(.+)$", "*$1*"] args: ["^(.+)$", "*$1*"]
rows: rows:
selector: table#sortabletable > tbody > tr:has(div > a[href*="details.php?id="]) selector: table#sortabletable > tbody > tr:has(span > a[href*="details.php?id="])
fields: fields:
category: category:
selector: td a[href*="/browse.php?category="] selector: td a[href*="/torrent-category-"]
attribute: href attribute: href
filters: filters:
- name: querystring - name: regexp
args: category args: "torrent-category-(\\d+)\/"
title: title:
selector: td a[href*="/details.php?id="] selector: td div.tooltip-target
details: details:
selector: td a[href*="/details.php?id="] selector: span a[href*="/details.php?id="]
attribute: href attribute: href
download: download:
selector: a[href*="/download.php?id="] selector: a[href*="/download-torrent-"]
attribute: href attribute: href
date: date:
selector: td:nth-child(2) > div:nth-child(3) selector: td:nth-child(2) > div:nth-child(3)