Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wx 调整规则了? read_sum无法收集 #26

Closed
ensean opened this issue Feb 2, 2019 · 1 comment
Closed

wx 调整规则了? read_sum无法收集 #26

ensean opened this issue Feb 2, 2019 · 1 comment

Comments

@ensean
Copy link

ensean commented Feb 2, 2019

RT, 文章能够抓取到,但评论、点赞数据没了,看着是wx api返回数据变了?

Error: TypeError: Cannot destructure property `read_num` of 'undefined' or 'null'.
    at getReadAndLikeNum (/private/tmp/wechat_spider/rule/wechatRule.js:34:41)
    at handleFn (/private/tmp/wechat_spider/rule/index.js:105:14)
    at Object.beforeSendResponse (/private/tmp/wechat_spider/rule/index.js:112:12)
    at beforeSendResponse.next (<anonymous>)
    at onFulfilled (/private/tmp/wechat_spider/node_modules/co/index.js:65:19)
    at /private/tmp/wechat_spider/node_modules/co/index.js:54:5
    at new Promise (<anonymous>)
    at co (/private/tmp/wechat_spider/node_modules/co/index.js:50:10)
    at toPromise (/private/tmp/wechat_spider/node_modules/co/index.js:118:63)
    at next (/private/tmp/wechat_spider/node_modules/co/index.js:99:29)
    at onFulfilled (/private/tmp/wechat_spider/node_modules/co/index.js:69:7)
    at /private/tmp/wechat_spider/node_modules/co/index.js:54:5
    at new Promise (<anonymous>)
    at co (/private/tmp/wechat_spider/node_modules/co/index.js:50:10)
    at createPromise (/private/tmp/wechat_spider/node_modules/co/index.js:30:15)
@ensean ensean changed the title wx 调整规则了? wx 调整规则了? read_sum无法收集 Feb 2, 2019
@ensean
Copy link
Author

ensean commented Feb 2, 2019

重启了 redis、mongodb 容器,又可以正常抓取了。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant