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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

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: