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

通过公众号添加后无法爬取啊 #49

Open
linuxclab opened this issue May 3, 2017 · 2 comments
Open

通过公众号添加后无法爬取啊 #49

linuxclab opened this issue May 3, 2017 · 2 comments

Comments

@linuxclab
Copy link

同过公众号添加后看不到爬虫爬取啊,所有脚本程序启动都正常。

@yijingping
Copy link
Member

你主要看这4个脚本是否运行正常,是否打印了什么异常日志:

$ python bin/scheduler.py
$ python bin/downloader.py
$ python bin/extractor.py
$ python bin/processor.py

@linuxclab
Copy link
Author

E:\360Downloads\wechat-spider-master\bin>python downloader.py
DEBUG 2017-05-16 20:28:37,062 init 820 5520 version=0.2.3
DEBUG 2017-05-16 20:28:37,131 init 820 5520 version=0.2.1
DEBUG 2017-05-16 20:48:33,223 downloader 820 5520 {u'wechatid': u'sysulib', u'ki
nd': 0, u'wechat_id': 11}

鏈闄愬埗,鍙互涓嬭浇

DEBUG 2017-05-16 20:48:33,565 init 820 5520 param: "['Xvfb', '-help']"
DEBUG 2017-05-16 20:48:33,568 init 820 5520 command: ['Xvfb', '-help']
DEBUG 2017-05-16 20:48:33,569 init 820 5520 joined command: Xvfb -help
DEBUG 2017-05-16 20:48:33,588 init 820 5520 OSError exception: [Error 2]
cmd=['Xvfb', '-help']
OSError=[Error 2]
Program install error!
Traceback (most recent call last):
File "downloader.py", line 96, in
downloader.run()
File "downloader.py", line 77, in run
with SeleniumDownloaderBackend(proxy=proxy) as browser:
File "E:\wechat-spider-master\wechat\downloader
s.py", line 40, in enter
self.display = self.get_display()
File "E:\wechat-spider-master\wechat\downloader
s.py", line 64, in get_display
display = Display(visible=0, size=(1024, 768))
File "D:\Python27\lib\site-packages\pyvirtualdisplay\display.py", line 34, in
init
self.obj = self.display_class(
File "D:\Python27\lib\site-packages\pyvirtualdisplay\display.py", line 52, in
display_class
cls.check_installed()
File "D:\Python27\lib\site-packages\pyvirtualdisplay\xvfb.py", line 38, in che
ck_installed
ubuntu_package=PACKAGE).check_installed()
File "D:\Python27\lib\site-packages\easyprocess_init
.py", line 180, in che
ck_installed
raise EasyProcessCheckInstalledError(self)
easyprocess.EasyProcessCheckInstalledError: cmd=['Xvfb', '-help']
OSError=[Error 2]
Program install error!

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

2 participants