Process of writing a twitter bot that tweets links to youtube videos. We're going to do this in roughly 8 steps:
Get list of my subscriptions from YouTube.Mark channels as music or blog.For each channel list of recent videos and store that in a database.- Take the last video link and download the video.
- Clip the video and clip it to 40s.
Tweet that video (title, link to Youtube)- Save link to tweet, video in database
- Check every 30 minutes if there's a new video, if yes start from 4.
I'm going to try document this all on my blog so follow along over there.
Other todos:
- make it so it doesn't send out shorts
- make it so it can only tweet one link per channel per day