Giter Site home page Giter Site logo

Comments (6)

Jinnrry avatar Jinnrry commented on July 28, 2024

是用来做集群使用的。比如你需要开发一个爬虫集群,使用100台手机当worker,这个时候就需要一个master服务器去管理每个worker的工作,web api的初衷就是用来和master通讯的。使用webapi实现master去调度所有的worker

至于放哪里,怎么写,使用什么架构,这是你master服务器的业务逻辑。

from robothelper.

Jinnrry avatar Jinnrry commented on July 28, 2024

这种业务逻辑网上肯定没有现成的介绍,是这个项目独有的设计

from robothelper.

chongkaechin avatar chongkaechin commented on July 28, 2024

我会想要试试看这个方法是因为有看到作者有写可以获得页面上的dom。虽然我不是很确定这个是什么,但是感觉dom有点像当下屏幕上的各种元素。

因为如果每次点击前都使用matchtemplate感觉很耗资源,所以想说有没有可以获得屏幕上物件的方法。我感觉accessibility,也就是无障碍服务提权好像可以做到。不知道是我想的这样吗。

希望作者能够表达一下看法或是提出建议,谢谢。

from robothelper.

Jinnrry avatar Jinnrry commented on July 28, 2024

是的,获取dom的底层实现就是accessibility,我把accessibility的结果转成json结构返回了而已

from robothelper.

chongkaechin avatar chongkaechin commented on July 28, 2024

那实际使用上是使用哪几个函数呢?函数参数的定义又是什么,可以麻烦作者稍微提一下吗?谢谢。

from robothelper.

Jinnrry avatar Jinnrry commented on July 28, 2024

web接口,这个是接口,是web api 接口,使用http协议调用,并不是java函数调用web api 这里详细介绍了每个api调用方法

实现位置这里是底层实现

from robothelper.

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.