Comments (3)
I have same problem. @sudoguy Do you have solution for it?
Thanks for great project.
from tiktokpy.
I think the problem is due to cookie notification in TikTok. It's block the action
from tiktokpy.
@mikebgrep @anhntsi @sudoguy i got a solution.
first step was changing this in settings.toml: HEADLESS = false
now i could watch what's going on ... chrome is starting to search the trends and the bot will then go to the userpages to follow.
here's the point; chrome is switching to german website, even if i changed the default language in chromium, it was my language again after the bot started chromium the next time.
so i did it the easiest way and deleted my language pak-file in
"C:\Users\xxx\AppData\Local\ms-playwright\chromium-1041\chrome-win\locales"
now the bot was working and the follow button was pressed.
next problem is the tiktok captcha coming to my screen every X times, so i changed the following line in tiktokpy\client\user.py
from
page: Page = await self.client.new_page(blocked_resources=["image", "media", "font"])
to
page: Page = await self.client.new_page(blocked_resources=["media", "font"])
hope i could help a bit 👍
from tiktokpy.
Related Issues (20)
- how use proxy? HOT 2
- `tiktokpy login` does not capture login info HOT 2
- Error like-icon ? Help me HOT 2
- I have logged in but cannot fetch trending videos. HOT 1
- Does not do actions.
- | INFO | 🛑 Cookies not found, anonymous mode HOT 1
- [Feature] Search videos by hashtag HOT 1
- what does this do? HOT 1
- Looks like Playwright was just installed or updated. HOT 1
- [REQ] Commenting HOT 1
- How to use the package in Docker container HOT 1
- Getting Trending is freezing HOT 3
- subtree intercepts pointer events retrying click action
- HERE HOW TO Send comments to trending videos HOT 2
- Following users HOT 3
- Doesn't login, cookies not generated and getting trending 0/5? HOT 3
- Access Denied
- ERROR | ❗️ Unexpected error. Timeout on searching user "***"...
- playwright._impl._errors.TimeoutError: Timeout 30000ms exceeded. HOT 3
- does it still work?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktokpy.