Skip to content

Instantly share code, notes, and snippets.

@RyanHirsch
Created September 9, 2021 16:34
Show Gist options
  • Save RyanHirsch/2c4f5d446b0f9f0288e75415729bd7db to your computer and use it in GitHub Desktop.
Save RyanHirsch/2c4f5d446b0f9f0288e75415729bd7db to your computer and use it in GitHub Desktop.
`npm i podcast-partytime@3.0.0-beta.0`
const fetch = require("node-fetch")
const {parseFeed} = require("podcast-partytime")
fetch("https://podnews.net/clock-rss")
.then(resp => resp.text())
.then(xml => parseFeed(xml))
.then(console.log)
import { parseFeed } from "podcast-partytime";
import fetch from "node-fetch";
fetch("https://podnews.net/clock-rss")
.then((resp) => resp.text())
.then((xml) => parseFeed(xml))
.then(console.log);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment