Code Monkey home page Code Monkey logo

Comments (4)

Gereks123 avatar Gereks123 commented on June 10, 2024

When creating a session, have you tired passing a list of proxies? https://github.com/davidteather/TikTok-Api/blob/main/TikTokApi/tiktok.py#L203

from tiktok-api.

AbubakrChan avatar AbubakrChan commented on June 10, 2024

@Gereks123 - Thank you for your reply!
Yes I tried passing the list of proxies and it gave me "playwright timeout 30000ms exceeded" error.
Please share if you have a working solution for this.
Thanks.

from tiktok-api.

AbubakrChan avatar AbubakrChan commented on June 10, 2024

Or if you can share a sample code for the correct way to pass the proxy list, that would be great.
Thanks

from tiktok-api.

AbubakrChan avatar AbubakrChan commented on June 10, 2024

here is how I am passing the proxy:

await api.create_sessions(ms_tokens=[ms_token], num_sessions=1, sleep_after=3, context_options=context_options, proxies=['50.217.226.44:80'])

from tiktok-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.