Comments (6)
守护模式下不会自动退出,需要手动执行php start.php stop
。
如果执行了还是没有的话还是贴一下代码吧
from beanbun.
我刚才才知道之前用的是1.00版本,现在换成1.04执行php start.php stop
就会调用stopWorker了,但是在用的过程中还是出现了两个问题。^_^
- beanbun-parse(ver 0.01)报错说使用不存在的 Beanbun的静态成员$parse,在
Parse.php
的第20行:$beanbun::$parser = $this;
。我大概看了下,好像并没有用到这个变量的地方,于是把这句话注释掉就可以用了。 - 在程序爬完所有符合规则的页面之后,日志当中就一直报curl的错误
cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
。我猜测可能是url格式的问题,于是我在Beanbun.php
的源码里的defaultDownloadPage
方法里把即将下载的url输出了出来,结果发现程序一直在请求空地址,暂时还没找到这个问题的解决办法~~~~(>_<)~~~~。
from beanbun.
第一个的错误级别是 notice 还是 warning 呢?
from beanbun.
Fatal error:PHP Fatal error: Access to undeclared static property: Beanbun\Beanbun::$parser in
.
from beanbun.
@kiddyuchina packgist的composer包中这个空队列BUG
还没更新成最新
from beanbun.
@kiddyuchina packgist的composer包中这个
空队列BUG
还没更新成最新
空队列这个bug如何解决
from beanbun.
Related Issues (20)
- 爬取过的页面想要定时重新爬,应该如何操作? HOT 1
- 广度优先和深度优先的demo
- Beanbun整合到yii2框架时,无法运行
- cURL error 28: Operation timed out HOT 3
- 文档打不开 HOT 5
- 遇到网站返回 HTTP 错误,但爬虫不会停止,一直无限爬? HOT 1
- urlFilter 属性,在window平台下不起作用 HOT 1
- 除了手工执行 php start.php stop 之外,怎样在代码里正确退出? HOT 1
- cli 方式执行,seed 里放任务信息,执行时 丢失参数
- 文档无法显示 HOT 1
- 我如果去请求post的接口的话参数如何传递没看到文档里有写啊 HOT 9
- 朋友 文档站点是用什么框架做的 HOT 1
- 关于post问题
- redis auth问题
- 爬取到的URL问题
- max 属性的作用是什么呢? HOT 2
- php start.php start无法进入守护模式 HOT 1
- 爬取有重定向的链接时,获取url不正确 HOT 1
- 官网打不开了 HOT 1
- redis queue can't use password ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beanbun.