Notification about new YouTube video to services. Currently only telegram is supported. Used by PubSubHubbub protocol specification.
Create telegram bot: https://core.telegram.org/bots
Сreate environment variables
BASE_URL
- a url for webhook processing of up PubSubHubbubCHANNEL_IDS
- YouTube channel IDs separated by commasTELEGRAM_BOT_TOKEN
- a token of your telegram botTELEGRAM_CHAT_ID
- ID of your telegram chat
Subscribe to channels
$ lein run -m youtube-to.subscription
Start the server
$ lein ring server