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
link
string
options
Returns
string
