fix(latest): asura cover fetch always failed #180
Reference in New Issue
Block a user
Delete Branch "fix/asura-cover-fetch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two independent breaks, both measured live 2026-12-04:
sites.go: newasuraCover; demonic and lightnovelworld keepogImageCover.cover.go: cover requests sendchromeUA.Evidence
net/httpon the CDN cover with the default UA got403 text/htmlwithcf-mitigated: challenge. The page's og:image fetched throughTLSCoverFetchergotfetch cover: status 403.TLSFetcherpage fetch (200), thencoverFrom("asura")returned the.79fa90.webpCDN URL, thenfetchCoverBytesreturned 590,774 bytes ofimage/webp.TestCoverFetcherSendsBrowserUserAgent: a fake CDN refuses any non-Chrome UA.TestCoverFromasura case uses the live page shape, og social card pluscoverUrlprop.go vet ./internal/latestclean,go test ./internal/latestok.Merge Danger
Door: two-way
Blast Radius: asura covers plus the UA on every TLS cover fetch.
Blank asura covers fill on their next poll. A series that already stores a cover address keeps it until a forced poll.