Russell-Newton / TikTokPy

Extract data from TikTok without needing any login information or API keys.
https://pypi.org/project/tiktokapipy/
MIT License
197 stars 25 forks source link

Comments no loading on both chromium and firefox #23

Closed icrni closed 1 year ago

icrni commented 1 year ago

It seems comments are not loading again, for both firefox and chromium navigator types. Only confirmed locally on windows wsl environment if it makes any difference.

Russell-Newton commented 1 year ago

Sorry for the late response, what other initialization parameters were you using? Do you have a snippet of your code?

icrni commented 1 year ago

Hi, sorry, just got back to this again. Tested again with latest version and same error. I tried both Chrome and Firefox

from tiktokapipy.api import TikTokAPI
from tiktokapipy.models import video as video_model

with TikTokAPI(navigator_type="chrome", scroll_down_time=1, data_dump_file="test.json") as api:
    user = api.user("khaby.lame")
    for video in user.videos:
        video_url = video_model.video_link(video.id)
        print(video.comments)
Russell-Newton commented 1 year ago

Please try again in version 0.1.13. This should be resolved.

Russell-Newton commented 1 year ago

I'm closing this issue as completed in 0.1.13. If for some reason it hasn't been resolved for you, either reopen this issue or create a new one. Happy scraping!