Giter Site home page Giter Site logo

tiktokcommentscraper's People

Contributors

alextusinean avatar cubernetes avatar katstasaph avatar kesleydavid avatar timomse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tiktokcommentscraper's Issues

Issue with Java Script

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

Uncaught TypeError: Cannot read property 'outerText' of null at <anonymous>:136:98

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!

run in google colab

can we use it in google colab?
if yes, can you please give me code example

Scraping stop working after around 80 comments

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.

image

image

Oh, i see you are from germany as well! (Also kannst du mir auch gerne auf deutsch antworten.)

Uncaught SyntaxError: Unexpected token ')'

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.

Screenshot 1
image
Screenshot 2
image
Screenshot 3
image
Screenshot 4
image

Cannot read properties of undefined

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.

  • Add On Idea

If the program aborts would it be possible to save all the already copied comments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.