Skip to content

parseAnnasArchiveRecords ​

Import from: @xbbg/xnews, @xbbg/xnews/parsers

parseAnnasArchiveRecords(html, options): WorksPage

Defined in: src/sources/annasarchive.ts (declaration: sources/annasarchive.d.ts:50)

Parses Anna's Archive search HTML into works-lane records. Pure: fixture text in, normalized records out, with no network access.

Cover anchors start record blocks. Within each block, the matching plain-text MD5 anchor is the title; author and publisher anchors are found by their semantic icon markers. A response with neither cover blocks nor a recognizable empty-result marker is treated as a layout/configuration failure, not as zero matches.

Parameters ​

html ​

string

options ​

AnnasArchiveParseOptions

Returns ​

WorksPage

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.