fix(comicvine): add fallback to issue detail endpoint for missing creator credits (#2694)

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
Balázs Szücs
2026-02-11 10:22:49 -07:00
committed by GitHub
parent 7e6ad212b0
commit e8530fa0b7
@@ -559,6 +559,17 @@ public class ComicvineBookParser implements BookParser, DetailedMetadataProvider
return buildVolumeMetadata(comic);
}
// For issue search/list responses ComicVine often omits creator credits (including writers).
// If we don't have any author information here, fall back to the issue detail endpoint
// to obtain full credits before building the metadata object.
if ("issue".equalsIgnoreCase(comic.getResourceType())
&& (comic.getPersonCredits() == null || comic.getPersonCredits().isEmpty())) {
BookMetadata detailed = fetchIssueDetails(comic.getId(), volumeContext);
if (detailed != null && detailed.getAuthors() != null && !detailed.getAuthors().isEmpty()) {
return detailed;
}
}
String publisher = null;
Integer seriesTotal = null;
if (volumeContext != null) {