Giter Club home page Giter Club logo

Comments (6)

ad-m avatar ad-m commented on August 24, 2024

Do you use createTask or createTaskSmee? Timeout is already implemented when you call ".join()".

from python-anticaptcha.

riccardolunardi avatar riccardolunardi commented on August 24, 2024

createTaskSmee.
And yes, I can use the join. Sorry for the silly question and thanks for the repo :)

from python-anticaptcha.

ad-m avatar ad-m commented on August 24, 2024

This issue is similiar to #50 .

Thank you for the information about issues in createTaskSmee.

It looks like more offen than I expect there is issues in createTaskSmee which uses free smee.io service, which does not guarantee any level of SLA. I will introduce any time limit for reading data from Smee to avoid stuck of script.

I will consider launching my own service of this kind & hope to provide better level of operation.

In mean time, could you use createTask (using callback or through polling)? It's should be free from any issues like that. Example is available https://github.com/ad-m/python-anticaptcha/blob/master/examples/text.py . createTask and createTaskSmee is interchangeable.

from python-anticaptcha.

riccardolunardi avatar riccardolunardi commented on August 24, 2024

I'll try as soon as I can :)

from python-anticaptcha.

namename-123 avatar namename-123 commented on August 24, 2024

Can we set our custom timeout?

from python-anticaptcha.

ad-m avatar ad-m commented on August 24, 2024

@virg1n , yes, you need upgrade to 0.6.0. In version ```0.6.0`` proper timeout managed was added.

Added custom timeout for createTaskSmee. Use as client.createTaskSmee(task, timeout=5*60). Default timeout is 5 minutes.

Default 5 seconds timeout apply to all API request.

from python-anticaptcha.

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.