cubernetes/TikTokCommentScraper ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple TikTok comment scraper that works from the browser and then turns the results into an Excel file.
I want to open a TikTok post in Chrome or another Chromium browser, run a script in the developer console, let it load as many comments and replies as it can, and then copy all of that comment data to the clipboard in CSV format. After that, I want a small Python tool I can run on Windows that reads the clipboard and creates an .xlsx file with the comments and any useful details like who posted them, reply info, and timestamps if available.
Please make it easy to use, with a couple of double click helpers for Windows, but also keep it runnable from Python for other systems. If needed, look up current docs online for anything TikTok or browser related. Make sure it’s clear when the scraping is done and save the output with a timestamped filename.
Are you gonna build this?
make sure you review the code using coderabbit