zetorrents: new title selector

also better infohash title for magnet generation
This commit is contained in:
Garfield69 2024-04-06 06:20:30 +13:00
parent 4fc79f7364
commit 89ffe1e7c5
1 changed files with 2 additions and 4 deletions

View File

@ -74,10 +74,11 @@ download:
- name: regexp
args: ([A-F|a-f|0-9]{40})
title:
selector: ul#breadcrumbs > li:nth-child(3) > h2
selector: div.tabs-title
filters:
- name: trim
- name: validfilename
search:
paths:
- path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{ else }}{{ end }}"
@ -96,10 +97,7 @@ search:
text: Other
title_phase1:
selector: a[href^="/torrent/"]
attribute: title
filters:
- name: replace
args: [" en Torrent", ""]
- name: replace
args: ["WEBRIP", "WEBDL"]
- name: re_replace