Generate usable RSS feeds from TikTok using GitHub Actions and GitHub Pages.
NOTE March 2024: This seems to work again due to improvements in the original TikTok library. It requires an on-the-fly patch to that underlying TikTok library, which is hopefully only temporary
To get your own instance running
ghPagesURL
from "https://conoro.github.io/tiktok-rss-flat/" to your URLIt's set to run once every 4 hours and generates one RSS XML file per user in the rss output directory.
You may need to update the msToken whenever your get GH Actions erros about TikTok returning an empty response
pip install virtualenv
python -m venv venv
source venv\bin\activate
pip install -r requirements.txt
export MS_TOKEN="blah"
source venv\bin\activate
python postprocessing.py
git commit -a -m "latest RSS"
git push origin main
You then subscribe to each feed in Feedly or another feed reader using a GitHub Pages URL. Those URLs are constructed like so. E.g.:
This uses an unoffical TikTokPy library to extract information about user videos from TikTok as JSON and generate RSS feeds for each user you are interested in.
Logo was created using the TikTok and RSS Font Awesome icons via CC BY 4.0 License
Copyright Conor O'Neill, 2021-2024 (conor@conoroneill.com)
License Apache 2.0