Skip to content

youtubeChannelFeedUrl ​

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

youtubeChannelFeedUrl(channelId, options?): string

Defined in: src/sources/youtube.urls.ts (declaration: sources/youtube.urls.d.ts:17)

YouTube's public per-channel Atom feed: free and keyless, returns the ~15 most recent uploads. With hideShorts the UC… channel ID is swapped for the channel's UULF… long-form uploads playlist, which excludes Shorts. The endpoint intermittently returns 404 for every channel during certain hours; that is an upstream outage, not a bad channel ID.

Parameters ​

channelId ​

string

options? ​

Pick<YoutubeFeedOptions, "hideShorts">

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.