fetchYoutubeSubscriptions
Import from: @xbbg/xnews
fetchYoutubeSubscriptions(
channels,options?):Promise<YoutubeSubscriptionsResult>
Defined in: src/sources/youtube.ts (declaration: sources/youtube.d.ts:39)
Fetches every subscribed channel's feed concurrently and merges the videos into one feed, newest first. A channel that fails to resolve or fetch is reported on its per-channel result instead of failing the whole batch. limit caps the merged feed, not each channel; each channel feed carries at most ~15 entries upstream.
Parameters
channels
readonly string[]
options?
Returns
Promise<YoutubeSubscriptionsResult>
