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_cookies
inconfig.yaml
- Repeat for Reddit, however there is no need to sign in, only accept cookies to get rid of notice (
reddit_cookies
this time)
- Add background video files to
backgrounds
folder, find some here - Enjoy!
Check out my tiktok-uploader.