fix: load real discover posters

This commit is contained in:
ShukeBta
2026-06-24 21:30:44 +08:00
parent 9bdf1a73e7
commit dd3d4c1aec
7 changed files with 90 additions and 11 deletions
+1
View File
@@ -312,6 +312,7 @@ func (b *BangumiProvider) Calendar(ctx context.Context) ([]ExternalMediaResult,
if poster == "" {
poster = item.Images.Common
}
poster = normalizeBangumiImageURL(poster)
year := 0
if len(item.AirDate) >= 4 {
year, _ = strconv.Atoi(item.AirDate[:4])