Skip to content

Turns Youtube channels and playlists into podcast feeds.

Notifications You must be signed in to change notification settings

johnnysteen/youtube-to-rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 14, 2021
6fdf568 · Aug 14, 2021

History

80 Commits
Feb 13, 2020
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021

Repository files navigation

Before first use

  • Clone this repository to any directory.
  • Open config.
  • Change URL to whatever base URL you're hosting from. The feed will be at http://$URL/$feedname/feed.rss.
  • Change uptime depending on how often you want to check for new videos (interval resets at midnight).
  • Edit documentroot with wherever yours is.

To use

  • To use, run run-updates.sh (or sudo ./run-updates.sh) in a terminal window and leave it open. Or, if you actually know what you're doing and know a better way to leave it running constantly, do that instead.

To create a feed

  • To create a feed, run

setup.sh feedname

  • You will be asked to provide the url and a title for your feed.

  • If you don't want to download all of a channel's old videos, then do

cd feedname youtube-dl --get-ids channel-url > archive

  • You may have to add root/feedname to your apache2 conf.

  • Repeat the above for every feed.

What the scripts do

  • setup.sh creates new feeds.
  • update.sh downloads new uploads and adds them to the RSS feed.
  • run-updates.sh will run update.sh on all of the feeds periodically throughout the day.

FAQs

What is this crap? Do you know anything about code development?

No.

Can you help me troubleshoot this?

No. I wrote this in a day, and I suck. I'm confident you can figure this out.

About

Turns Youtube channels and playlists into podcast feeds.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages