Zamunda.net: Improve torrent names (#3003)

This commit is contained in:
Ivan PIdov 2018-04-23 18:06:22 +03:00 committed by kaso17
parent 0bbcecc1c3
commit 9bfb249425
1 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,11 @@
selector: .responsetop > tbody > tr:has(td.td_newborder) selector: .responsetop > tbody > tr:has(td.td_newborder)
fields: fields:
title: title:
selector: td:nth-child(2) > a:nth-child(1) selector: td:nth-child(2) > a[href^="/download.php"]
attribute: href
filters:
- name: re_replace
args: ["^(.*?)download\\.php\\/[0-9]{1,10}\\/|\\.torrent(?=[^.]*$)", ""]
details: details:
selector: td:nth-child(2) > a:nth-child(1) selector: td:nth-child(2) > a:nth-child(1)
attribute: href attribute: href