cubernetes / tiktokcommentscraper Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When I try to run the Java Script in the Console in Developer Tools, this error pops up and won't extract comments. Could you explain why and how to fix this? Thank you!
VM2732:28 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'children')
at getAllComments (:28:55)
at :64:37
at :156:3
Hello!
I'm trying out the scraper on this TikTok and more but I keep encountering this error on all of the videos I've tried:
Uncaught TypeError: Cannot read property 'outerText' of null at <anonymous>:136:98
I'm using Windows 10 and Chrome Browser.
Sorry if this is something I could've easily solved, I'm not familiar with JavaScript!
(also, is there a way to just get the .csv output? I'd like to perform data analysis on the output in R). Thanks!
Only the first reply to a comment is transferred to the xlsx. document.
can we use it in google colab?
if yes, can you please give me code example
stopped working with following error in console :
init.js?cache:1 POST https://mon-va.byteoversea.com/monitor_browser/collect/batch/ net::ERR_BLOCKED_BY_CLIENT
Hey, first of all amazing tool and i really like the fact that you can use it so easy on windows but for me it will only scrape like around 80 comments and then it seems like tiktok blocks the traffic or something.
I tried it two times.
Oh, i see you are from germany as well! (Also kannst du mir auch gerne auf deutsch antworten.)
When I attempt to run the latest script I get an error saying there's an unexpected token in line 197 (screenshot 1).
When I opened src/ScrapeTikTokComments.js in Sublime it also highlights the same character (screenshot 2). Removing this character does not appear to fix the issue as I get the same error message (screenshot 3). When I remove the last 3 characters )()
then the script appears to work correctly (screenshot 4).
I've never coded in JS, so I'm not sure if these changes break something. But if other people are having the same issue then this change may be needed.
VM1658:146 Uncaught TypeError: Cannot read properties of undefined (reading 'outerText')
at :145:40
(anonym) @ VM1658:145
setTimeout (asynchron)
loadingCommentsBuffer @ VM1658:125
(anonym) @ VM1658:125
Hello, script often works perfectly fine but then often aborts because of the same error above.
If the program aborts would it be possible to save all the already copied comments
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.