Automatic content bot using Selenium to scrape AskReddit and and post to TikTok with video rendering with MoviePY.
Requires some manual setup,
- Install pip packages from
requirements.txt - Get cookies for TikTok & Reddit
- Sign into TikTok in your browser by choice
- Open DevTools and go to the network tab
- Reload the page and find the sent cookie header
- Copy the header and save to
tiktok_cookiesinconfig.yaml - Repeat for Reddit, however there is no need to sign in, only accept cookies to get rid of notice (
reddit_cookiesthis time)
- Add background video files to
backgroundsfolder, find some here - Enjoy!
Check out my tiktok-uploader.