skyclone: handle missing category. resolves #6721

This commit is contained in:
Garfield69 2020-03-23 16:45:38 +13:00
parent 91812d94b9
commit 47b80b1c10
1 changed files with 6 additions and 3 deletions

View File

@ -12,6 +12,7 @@
caps:
categories:
"other": Other
# category=
"album": Audio
"ebook": Books
@ -53,13 +54,15 @@
title:
selector: td a
category:
text: other
category|noappend:
# try category=
optional: true
selector: a.label[href*="category="]
category:
# try type=
optional: true
category|noappend:
# try type=
selector: a.label[href*="type="]
optional: true
details:
selector: td a
attribute: href