attv: handle missing category. resolves #7110

This commit is contained in:
Garfield69 2020-02-06 10:07:03 +13:00
parent e215870735
commit 574bd29108
1 changed files with 7 additions and 0 deletions

View File

@ -132,6 +132,13 @@
- name: re_replace
args: ["( torrent)$", ""]
category:
optional: true
selector: td:nth-child(1):contains("-")
filters:
- name: replace #7110 provide default for missing category
args: ["-", "78"]
category:
optional: true
selector: a[href^="/torrents.php?cat="]
attribute: href
filters: