Skip to content

UseParseYoutubeRss

katanakit-js / useParseYoutubeRss

function useParseYoutubeRss(xml): {
channelTitle?: string;
description: string;
durationSeconds?: number;
embedUrl: string;
id: string;
publishedAt: string;
thumbnail: string;
thumbnails: {
default: string;
high: string;
medium: string;
};
title: string;
url: string;
viewCount?: number;
}[];

Defined in: core/services/youtube.service.ts:534

Parses a YouTube channel RSS feed into normalized videos.

Parameter Type
xml string

{ channelTitle?: string; description: string; durationSeconds?: number; embedUrl: string; id: string; publishedAt: string; thumbnail: string; thumbnails: { default: string; high: string; medium: string; }; title: string; url: string; viewCount?: number; }[]

YoutubeService.useParseYoutubeRss