Open vagvalas opened 3 months ago
Seems like related to https://github.com/davidteather/TikTok-Api/issues/1090
Easiest workaround for me on mac was to set headless=False
for now.
I finally , and also using this help, and chatGPT finally made to make a script to fetch and port to yt_dlp and download all videos i need. BUT , as i undestand it only fetches till the public ones.. i mean, the hashtag has 2,000 videos, and even if im logged in and not logged in i can see through my browser 50 videos (45 sometimes) and the TikTok-Api it COMPLETES and finishes the script on 45 videos..
Is there any workaround on this? how to fetch more? as logged in?
@jagl16 @vagvalas I faced the same issue in a sudden even when I switch headless=False
API sends is like: https://www.tiktok.com/api/challenge/item_list
but still receive empty response, is there some anti-scrape enhancement from tik-tok?
@zhangzyg I haven't tried it again in a few weeks, but wouldn't be surprised if tiktok did implement new anti scraping changes.
Any updates here?
@vagvalas would you be willing you share your new script for scraping by hashtag?
I'm unable to run even the examples with an added ms_token, I'm not sure if i had done everything right but i cant seem to understand exactly if i had also to add a cookie, or how do i get a cookie except from ms_token. I think the line ms_token, None i had filled correctly.
I modified the example:
Error Trace (if any)
Put the error trace below if there's any error thrown.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.