-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Hello. To begin with, I very much appreciate the work you've done here. The instructions from the youtube video were easy to follow, and I especially like that the code still runs after a year.
However, I have a problem. I downloaded my data from TikTok, and it gave me a list of every video I've ever liked. The list is over 3 thousand, meaning I have nearly three thousand separate videos to scrape. The videos I can easily get with yt-dlp. But in order to get the comments from each video, I would have to open EVERY SINGLE one of those videos in my browser and copy the javascript over 3,000 times, and run the python scripts over 3,000 times. That would take months, possibly even a year.
How would I go about using ScrapeTikTokComments.js from the command line, so that I may incorporate it into another script/program? Is there a way I can plug it directly into a headless browser, like Selenium or Phantom.js?
Thank you.