Skip to content

resolveLibgenDownloads ​

Import from: @xbbg/xnews

resolveLibgenDownloads(book, options): Promise<Record<string, string>>

Defined in: src/sources/libgen.ts (declaration: sources/libgen.d.ts:161)

Resolves a row's download links by fetching one of its mirror pages. Keys are the labels the mirror page uses (e.g. "GET", "Cloudflare", "IPFS.io").

Parameters ​

book ​

LibgenBook

options ​

LibgenMirrorOptions & SourceFetchOptions

Returns ​

Promise<Record<string, string>>

Last updated:

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