Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Comments no loading on both chromium and firefox #23

Closed
icrni opened this issue Jan 23, 2023 · 4 comments
Closed

Comments no loading on both chromium and firefox #23

icrni opened this issue Jan 23, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@icrni
Copy link

icrni commented Jan 23, 2023

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 Russell-Newton added the bug Something isn't working label Jan 30, 2023
@Russell-Newton
Copy link
Owner

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

@icrni
Copy link
Author

icrni commented Apr 26, 2023

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 added a commit that referenced this issue May 19, 2023
* Add an init script to make Playwright pages pretend to not be run by a webdriver
    * Doesn't seem to work with Firefox
    * Reverted changes related to #9
* Also updated documentation to no longer suggest mobile emulation for downloading slideshows
@Russell-Newton
Copy link
Owner

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

@Russell-Newton
Copy link
Owner

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!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants