DormyMo / SpiderKeeper

admin ui for scrapy/open source scrapinghub
http://sk.7mdm.com:5000/
2.74k stars 507 forks source link

功能与意见反馈,报bug可以另开issue #6

Open DormyMo opened 7 years ago

DormyMo commented 7 years ago

都可以在这里交流,我会及时回复的~ 也欢迎加入QQ群讨论:389688974

jxltom commented 7 years ago

感谢作者分享,简单试用了一下,有几个想法

DormyMo commented 7 years ago

@jxltom 很不错的建议 ,谢谢 ,后续版本会改善这些问题。

jxltom commented 7 years ago

@DormyMo 好的。我看到UI是用flask运行的,请问nodejs在项目里发挥什么作用?

对于Flask的话,如果实现Http auth,Flask-BasicAuth插件几行代码就可以实现http basic authentication,可以考虑一下

bosbyj commented 7 years ago

您好,请问SpiderKeeper可以在win下跑起来吗?需要scrapyd?

PythonYXY commented 7 years ago

请教一下spider的优先级是什么意思,具体是怎样实现的?

DormyMo commented 7 years ago

@bosbyj SpiderKeeper 基于scrapyd服务,需要scrapyd,win下可以,不过没有测试过

DormyMo commented 7 years ago

@PythonYXY 现在优先级相当于 运行爬虫的机器数,优先级越高,会再越多的机器上运行同一个爬虫(分布式执行,需要scrapy-redis)

PythonYXY commented 7 years ago

@DormyMo 嗯,现在我就是正在做分布式爬虫。所以如果A的优先级比B高,就相当于A会比B多执行几次“scrapy crawl A”的命令么?

kxxoling commented 7 years ago

试用了下,spiderkeeper 直接提出了一些 warning,可以顺手解决一下:

/usr/local/lib/python2.7/dist-packages/SpiderKeeper/app/__init__.py:9: ExtDeprecationWarning: Importing flask.ext.basicauth is deprecated, use flask_basicauth instead.
  from flask.ext.basicauth import BasicAuth
/usr/local/lib/python2.7/dist-packages/SpiderKeeper/app/__init__.py:10: ExtDeprecationWarning: Importing flask.ext.restful is deprecated, use flask_restful instead.
  from flask.ext.restful import Api
/usr/local/lib/python2.7/dist-packages/SpiderKeeper/app/__init__.py:11: ExtDeprecationWarning: Importing flask.ext.restful_swagger is deprecated, use flask_restful_swagger instead.
  from flask.ext.restful_swagger import swagger
/usr/local/lib/python2.7/dist-packages/SpiderKeeper/app/__init__.py:11: ExtDeprecationWarning: Importing flask.ext.restful_swagger.swagger is deprecated, use flask_restful_swagger.swagger instead.
  from flask.ext.restful_swagger import swagger
/usr/local/lib/python2.7/dist-packages/flask_restful_swagger/swagger.py:14: ExtDeprecationWarning: Importing flask.ext.restful.fields is deprecated, use flask_restful.fields instead.
  from flask.ext.restful import Resource, fields
/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/__init__.py:839: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future.  Set it to True or False to suppress this warning.
  'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/__init__.py:839: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future.  Set it to True or False to suppress this warning.
  'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
--------------------------------------------------------------------------------
billsteve commented 5 years ago

能不能加上监控简单脚本的功能啊