docs(latest): document cover extraction fallback
This commit is contained in:
@@ -215,6 +215,9 @@ func comixCoverURL(seriesURL, body string) string {
|
|||||||
return publishedCoverURL(detail.Poster.Medium)
|
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) {
|
func coverFrom(site, seriesURL, body string) (string, bool) {
|
||||||
var cover string
|
var cover string
|
||||||
switch site {
|
switch site {
|
||||||
|
|||||||
Reference in New Issue
Block a user