Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Tutorial Guide here 👋 #239

Open
ezzcodeezzlife opened this issue Apr 26, 2022 · 5 comments
Open

Tutorial Guide here 👋 #239

ezzcodeezzlife opened this issue Apr 26, 2022 · 5 comments

Comments

@ezzcodeezzlife
Copy link
Contributor

Seems like many people want to use this Bot but are struggeling with the basic usage:

I created this written guide for beginner programmers "How to use TikTokPy".

This will help you to get started with this project.

@stannihart
Copy link

Ive tried to login via my regular browser and on "tiktokpy login" both will not save cookies and quickstart is still not working because im not loged in.

@jd1900
Copy link

jd1900 commented May 14, 2022

Ive tried to login via my regular browser and on "tiktokpy login" both will not save cookies and quickstart is still not working because im not loged in.

Same here.

xxxx tiktok $ tiktokpy login
2022-05-14 22:38:32 | INFO | 🥳 TikTokPy initialized. Version: 0.9.0
2022-05-14 22:38:32 | INFO | 🔧 Settings successfully loaded
2022-05-14 22:38:32 | INFO | 🛑 Cookies not found, anonymous mode
2022-05-14 22:41:09 | INFO | 🔑 Logged as @xxxxx aka xxxxxx
2022-05-14 22:41:09 | INFO | ✋ TikTokPy finished working. Session lasted: 2 minutes

xxxx tiktok $ python3 quickstart.py
2022-05-14 22:41:37 | INFO | 🥳 TikTokPy initialized. Version: 0.9.0
2022-05-14 22:41:37 | INFO | 🔧 Settings successfully loaded
2022-05-14 22:41:37 | INFO | 🛑 Cookies not found, anonymous mode
2022-05-14 22:41:38 | INFO | 📈 Getting trending items

@tudoanh
Copy link

tudoanh commented May 18, 2022

Ive tried to login via my regular browser and on "tiktokpy login" both will not save cookies and quickstart is still not working because im not loged in.

Same here.

@jd1900 You should update the quickstart.py file like this after login:

...
async def main():
    async with TikTokPy("./settings_test.toml") as bot:
...

@matteotoma98
Copy link

Ive tried to login via my regular browser and on "tiktokpy login" both will not save cookies and quickstart is still not working because im not loged in.

Same here.

@jd1900 You should update the quickstart.py file like this after login:

...
async def main():
    async with TikTokPy("./settings_test.toml") as bot:
...

Still not working:
playwright._impl._api_types.Error: net::ERR_INVALID_RESPONSE at https://www.tiktok.com/foryou?lang=en
=========================== logs ===========================
navigating to "https://www.tiktok.com/foryou?lang=en", waiting until "networkidle"

@SmittysSmellyAss
Copy link

any chance you have a backup of that guide? I'm having trouble figuring out how to grab urls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants