Tiktok Scraper avatar
Tiktok Scraper
Try for free

3 days trial then $35.00/month - No credit card required now

View all Actors
Tiktok Scraper

Tiktok Scraper

mcdowell/tiktok
Try for free

3 days trial then $35.00/month - No credit card required now

An advanced TikTok scraper that lets you collect videos, profiles, posts, and other publicly available data on TikTok. Download TikTok data as a HTML, JSON, CSV, Excel, or XML

PT

Output has no comments

Closed

pink_tambourine opened this issue
2 years ago

So I run the actor and it succeeds, in theory, but the output has no comments at all https://console.apify.com/actors/runs/PeYGFGVQhhVtltgrz#log

mcdowell avatar

Let me look into this issue ASAP

mcdowell avatar

I have issued an update that fixes the issue. Confirm that comments are being extracted now.

Kind regards

PT

pink_tambourine

2 years ago

It does now. Although it contains the username in the comment content. Also, in this run https://console.apify.com/actors/2aZUbTgtUqHEsBIDp/runs/M8tqylSQ13bCV9qbd#log it prompts me this error a payload error and ends up at 370 results. Is there a specific problem for this?

mcdowell avatar

For the issue of the of comments, I can add an optional input toggle that simplifies the comments from an object to a string. Will that change be acceptable to You?

PT

pink_tambourine

2 years ago

Yeah that could be. Although the user id of the person commenting is useful to do network analysis. And so you know why it failed in the end? By the way thank you so much for replying so fast. I'll definetly pay if it works for what I need.

El mié., 23 nov. 2022 10:42 a. m., Victor McDowell < topic+sulv4oj57tdgjyyfnz@reply.apify.com> escribió:

mcdowell avatar

Is the format

1{
2	"cid": "7167208131859219205",
3	"text": "OHHH SHE'S ABOUT TO RELEASE XCX WORLD FR",
4	"uid": "6967012118983050245",
5	"unique_id": "gastonvxldez",
6	"nickname": "Gastón"
7}

Simplified enough or should I remove more attributes from the comments

PT

pink_tambourine

2 years ago

That looks great actually

El mié., 23 nov. 2022 3:12 p. m., Victor McDowell < topic+sulv4oj57tdgjyyfnz@reply.apify.com> escribió:

PT

pink_tambourine

2 years ago

https://console.apify.com/actors/2aZUbTgtUqHEsBIDp/runs/SXrdFG7s275oComn8#log I'm also having this problem from time to time. It gets no results unless I reset everything and set it up again. But even then it eventually says that the payload is too much so it doesn't extracts all the results.

mcdowell avatar

I am working on the payload error and the no results bug. I will issue an update ASAP.

PT

pink_tambourine

2 years ago

Thank you so much!

mcdowell avatar

Hi Eduardo, I have made the update that fixes the issue of payload

PT

pink_tambourine

2 years ago

Thank you so much! It works much better now. I did this run https://console.apify.com/actors/runs/4XfEutB1UXOGKyLry#log and it got a bit under 800 results, I know there are almost 1000 videos under that hashtag, is there a specific reason for this? I also wanted to try to add a bulk edit list of links but it was only possible with a file, but I couldn't get a .txt file working. Best!

mcdowell avatar

For the limited results, Increase the Memory and the maximum number of retries. Can you share the text file that you were that you were trying to use to bulk edit? Kind regards

PT

pink_tambourine

2 years ago

Sure, this is the document I was using.

PT

pink_tambourine

2 years ago

The actor has been working wonderfully. I think it is suitable for what I need for sure. I'm also wondering, if it's not too much trouble, if is possible to scrape info from the commenting accounts, such as:

Following count Followers count Like count If the account is private If they have bio If its private

Basically I want to create a criteria to see if they're bots or not

mcdowell avatar

Thanks for the document. I have already fixed the bug that was preventing reading URLs from the file. On the issue of the commenting account, I can create an optional input field to manage commenting account information.

I will appreciate feedback on how well the scraper is working for you. Kind regards

PT

pink_tambourine

2 years ago

Were this elements added in the end? I can't try it because my trial already expired to check on this. Also I see that my test dataset have no view count. Is there a way I can try it again to see if it finally fits my needs with the fixes?

mcdowell avatar

Hello, I issued an update that fixed the issue. Can you share your input so that I can run a sample for you for review.

PT

pink_tambourine

2 years ago

Sure, I want to scrape the hashtag "rodrigochavespresidente" and all the comments possible

mcdowell avatar

Hi, https://api.apify.com/v2/datasets/a3lsegcnEjftbKcNn/items?clean=true&format=json This is a test dataset with 5 videos from the hashtag with a maximum limit of 200 comments per post. Review and confirm that the comment data is correctly collected.

Developer
Maintained by Community
Actor metrics
  • 10 monthly users
  • 5 stars
  • 94.6% runs succeeded
  • 3.5 hours response time
  • Created in Oct 2022
  • Modified about 1 year ago