Skip to content

libgenAbsoluteUrl ​

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

libgenAbsoluteUrl(link, options): string

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

Resolves a possibly relative link from a result table against the mirror. Returns undefined for links that are not HTTP(S) — mirrors sometimes emit magnet: or onion links, which xnews neither follows nor rewrites.

Parameters ​

string

options ​

LibgenMirrorOptions

Returns ​

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.