This Python app scrapes popular Reddit posts and comments and creates ready-to-upload entertaining videos with background music, text-to-speech, and screenshots of the post and top comments. ✨
TL;DR it makes those Reddit text-to-speech videos that have taken over YouTube, TikTok, FaceBook, and everywhere else for you.
- Create your own Reddit Bot here and note down the
client idandclient secret. - Clone the repo to your machine.
- Now run RedditTTS.py and insert the
client idandclient secretyou just made. Also update perameters likesubreddit,postsandcommentsto get posts from the subreddit of your choice and a video will be generated in the /out folder ~! 😄
The /out folder also contains a .txt file containing the information about the post.
All of these are included with the app, except ffmpeg. If missing, just download it here.
prawto scrape Reddit posts.seleniumandwebdriver_managerto generate screenshots of the posts.gttsandpydubto generate audio.moviepyto generate video.ffmpegandffprobeto generate video.
- Once the script is finalized, make a GUI App to make using this ultra easy.:dizzy: → Done! ✅
- Make libraries local, allowing app to be run without installing the whole list of modules. → Done! ✅
- Use the Reddit API directly instead of praw to improve performance {Current working on this ❗}.
Ajinkya Talekar | CS Student at University at Buffalo | ajinkyatalekar.github.io