Readme

Fetches all videos for a Youtube channel, by using its RSS feed.

1
2
3
4
5
6
7
8
import { fetchRss } from "https://esm.town/v/pdebie/fetchRss";
export function youtubeFeed(channelId: string, lastCheckDate?: string | number) {
return fetchRss(
"https://www.youtube.com/feeds/videos.xml?channel_id=" + channelId,
lastCheckDate,
);
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023