libgenSearchUrl
Import from: @xbbg/xnews, @xbbg/xnews/catalog
libgenSearchUrl(
query,options):string
Defined in: src/sources/libgen.urls.ts (declaration: sources/libgen.urls.d.ts:71)
Builds a result-table URL for one query. Throws a config-coded XnewsFetchError when baseUrl is missing or unusable, or when the query is shorter than LIBGEN_MIN_QUERY_LENGTH, so a misconfigured caller fails before any request instead of dialing a mirror with a query it will reject.
Parameters
query
string
options
Returns
string
