-
Notifications
You must be signed in to change notification settings - Fork 151
SpiderEngine
Tony Shen edited this page Mar 10, 2020
·
11 revisions
SpiderEngine 可以管理引擎中的爬虫,包括爬虫的生命周期。
可以对当前服务器的CPU和内存进行实时监控
http://localhost:{port}/netdiscovery/spider/{spiderName}/detail
类型:GET
http://localhost:{port}/netdiscovery/spiders/
类型:GET
http://localhost:{port}/netdiscovery/spider/{spiderName}/status
类型:POST
参数说明:
{
"status":2 //让爬虫暂停
}
status | 作用 |
---|---|
2 | 让爬虫暂停 |
3 | 让爬虫从暂停中恢复 |
4 | 让爬虫停止 |
http://localhost:{port}/netdiscovery/spider/{spiderName}/push
类型:POST
参数说明:
{
"url":xxx // 将url添加到爬虫引擎某一个爬虫的任务中去
}
http://localhost:{port}/netdiscovery/jobs/
类型:GET
- Configuration
- Downloader
- vertx webclient
- urlconnection
- http client
- okhttp3
- file
- selenium
- Chrome
- Firefox
- IE
- Phantomjs
- htmlunit
- Queue
- ConcurrentLinkedQueue
- Disruptor
- Redis
- Kafka
- RabbitMQ
- RocketMQ
- Parser
- Pipeline
- Rate limiting
- RPC
- Jobs
- Vert.x EventBus
- User Agent Pools
- IP Pools
- Cookies Pools
- Monitor
- Spider
- SpiderEngine
- DSL
- Coroutines
- ChangeLog