@maschinenlesbar.org/deutsche-digitale-bibliothek-cli
    Preparing search index...

    Variable ITEM_TEXT_PARTSConst

    ITEM_TEXT_PARTS: readonly ItemPart[] = ...

    The item parts the API serves as XML or a plain file (edm RDF/XML, the source record's XML, the citation's BIB file): item() returns them as text (and bytes). Every other part is JSON, whatever the answer's Content-Type says, so an HTML page in its place (a captive portal, a wrong base URL) is a DdbParseError, never data. Frozen.