proporno: simplify categorydesc

This commit is contained in:
Garfield69 2024-02-17 13:24:26 +13:00
parent baa02de229
commit c1a2dc239a
1 changed files with 1 additions and 4 deletions

View File

@ -55,14 +55,11 @@ search:
after: 1
fields:
categorydesc_href:
selector: div.inmy > a:last-of-type
optional: true
categorydesc_id:
selector: div.inmy > a:last-of-type
optional: true
categorydesc:
text: "{{ if .Result.categorydesc_href }}{{ .Result.categorydesc_id }}{{ else }}порно видео{{ end }}"
text: "{{ if .Result.categorydesc_id }}{{ .Result.categorydesc_id }}{{ else }}порно видео{{ end }}"
title:
selector: div.news_text > a
details: