Convert any YouTube channel or playlist to a RSS feed compatible with any podcast app.
The purpose of this project is to be able to generate a RSS feed from any Youtube url without maintaining any server.
The main problems this script try to resolve are:
- No need to have a Youtube API Key
- No need to have any database, the RSS feed is generated for each call
- No need to download files, convert them and host them
- Choose quality (default is 720p)
- Choose number of latest items from the playlist or channel to show in the RSS feed (default is 5)
- Works with dailymotion, vimeo
- Works with unique video url
- Youtube-dl To extract videos information and the download url
- rfeed To generate the RSS feed
- Serverless To help us deploying our function
- AWS For exposing the api in an inexpensive way (using AWS Lambda and AWS Gateway).
Install and follow instructions to setup serverless with AWS
serverless deploy
Get your api url in the console log after deploying, replace below and then open the url or copy it in your podcast app:
https://XXXX.amazonaws.com/staging/getrss?url=https://www.youtube.com/channel/UC2QKuEonyj4rWPZyVcbTjqg
To change the default values:
https://XXXX.amazonaws.com/staging/getrss?url=https://www.youtube.com/channel/UC2QKuEonyj4rWPZyVcbTjqg&count=20&quality=1080&filterTitle=Chine
serverless invoke local --function getRss --path test.json
- Fork this repository to your own GitHub account and then clone it to your local device
- Make the necessary changes and ensure that the tests are passing
- Send a pull request
- Find a way to get the uploader's thumbnail and not use the first video thumbnail
- Automatically download the latest youtube-dl and rfeed python library when a new version is available
- Test other website with the supported sites
- Make it faster to be able to add more items in playlist count (now timeout occurs if we request too much items in RSS feed)
- Add option to generate RSS feed with only audio
- None for the moment
- Youtube-dl for the fantastic work
- Podsync for giving me the idea
Please, refer to LICENSE file