Comments (8)
@tobeyond
Login function is realized in the bot. The first time you need to do it manually using the command in the terminal
tiktokpy login
A browser will open and you will need to log in. After login, the browser will close and cookies should be written to the settings.toml
file.
Before initializing the bot, the settings.toml
file is checked for cookies. If they are, then the bot will use them.
The next time when you run your bot will tiktokpy already logged
from tiktokpy.
Thank you.
I tried as you said. The browser opens and I've logged in. But it does not close nor saves the cookies :/
RuntimeError: Event loop is closed
sys:1: RuntimeWarning: coroutine 'Launcher.killChrome' was never awaited
from tiktokpy.
It looks like a bug. I'll try to fix it for the next release. After login, try to hover over your avatar and click on View profile. Maybe it will work now
from tiktokpy.
Cool. So I'm not sure if it worked. I got:
raise IOError('Unable to remove Temporary User Data')
OSError: Unable to remove Temporary User Data
but it actually created the cookies. So I'm trying quickstart but it's stuck in Getting trending 0%.
from tiktokpy.
This bug with broken progress bar has been fixed in version 0.8.3. Update package, pls and try again
pip install -U tiktokpy
from tiktokpy.
After I updated it, nothing would happen :/
from tiktokpy.
Still stuck forever in "Getting trending items"
from tiktokpy.
The login is not working again
from tiktokpy.
Related Issues (20)
- Help ?
- 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
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.