glodls: handle missing category. resolves #7113

This commit is contained in:
Garfield69 2020-02-06 15:19:38 +13:00
parent 48d793fcd2
commit 9f03831321
1 changed files with 7 additions and 0 deletions

View File

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