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.
xgof5p.mov
NOTE: You need ffmpeg installed on your computer for this to work.
- Create your own Reddit Bot here, by selecting 'Personal Use Script' and note down the
client id
andclient secret
. - Download the latest release for this app.
- Run RedditTTS.py and enter your
cliend id
andclient secret
.
Also update perameters likesubreddit
,posts
andcomments
to 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.
Screen.Recording.2022-09-17.at.9.09.20.PM.mov
All of these are included with the app, except ffmpeg
. If missing, just download it here.
praw
to scrape Reddit posts.selenium
andwebdriver_manager
to generate screenshots of the posts.gtts
andpydub
to generate audio.moviepy
to generate video.ffmpeg
andffprobe
to 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