pytok
pytok copied to clipboard
A web scraper for TikTok using Playwright
I'm trying to only get 20 videos from a user so I changed the example like so: `import asyncio import json from pytok.tiktok import PyTok async def main(): async with...
I am getting the following error while running comment example.py ``` AssertionError: Locator expected to be visible Actual value: None Call log: LocatorAssertions.to_be_visible with timeout 30000ms waiting for locator("[data-e2e=comment-level-1]").first.or_(locator("Rotate the...
i want to scrape posts from keyword " border" and get all post infos to each. if unlimited scraping posts is possibel that will be okay but if its not...
Apparently TikTok changed something and you need to login before scraping data. Is there any workaround?
I'm debugging the file **_hashtag_tiktoks.py_** from **Zenodo** and managed to solve lots of issues but this one is persistent: On the file tiktok.py where you create the class PyTok there...
Hi, I encountered this issue when crawling using the user method. The captcha disappeared suddenly without allowing me to solve it. Unlike crawling using the hashtag method, the captcha appears...
 Other than rotating IP's how do can I avoid that? Any ideas? (I don't use since its not in my budget sadly.) Waiting works but I want to do...
it seems that something has change in tiktoks html, the code is no longer able to drag and solve the captcha I get this error when using this basic code:...