bangumi-moe: size can be missing. resolves #13431

This commit is contained in:
ilike2burnthing
2022-07-31 17:51:21 +01:00
committed by GitHub
parent 48d853cd55
commit 48b1b3c1ce

View File

@@ -64,8 +64,11 @@ search:
date:
# 2021-10-19T06:10:15.772Z
selector: publish_time
size:
size_optional:
optional: true
selector: size
size:
text: "{{ if .Result.size_optional }}{{ .Result.size_optional }}{{ else }}0 B{{ end }}"
grabs:
selector: downloads
seeders: