feat(latest): extract per-site covers (#58) #67

Merged
sulthan merged 4 commits from issue-58-cover-extraction into main 2026-08-10 01:43:57 +07:00
Showing only changes of commit c3e36b68db - Show all commits
+3
View File
@@ -215,6 +215,9 @@ func comixCoverURL(seriesURL, body string) string {
return publishedCoverURL(detail.Poster.Medium)
}
// coverFrom reports false for unknown sites, challenge bodies, and pages with
// no usable cover. Metadata extraction keeps scanning after an empty match so
// a later published cover is not hidden by an empty tag.
func coverFrom(site, seriesURL, body string) (string, bool) {
var cover string
switch site {