推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
wooddance
V2EX  ›  Python

pyspider 如何得到 on_message 方法返回的结果

  •  
  •   wooddance · Jun 6, 2018 · 2569 views
    This topic created in 2907 days ago, the information mentioned may be changed or developed.
    在处理一个页面返回多个结果的任务中,使用 send_message 和 on_message 方法,但是 on_message 方法得到并且 return msg 之后如何进一步处理,我想要进一步在 on_result 中做一些处理,但是 on_result 获取不到 on_message 返回的结果。谢谢!
    2 replies    2018-06-06 23:03:25 +08:00
    lovejoy
        1
    lovejoy  
       Jun 6, 2018
    binux
        2
    binux  
       Jun 6, 2018 via Android
    return 就行了啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5303 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 08:44 · PVG 16:44 · LAX 01:44 · JFK 04:44
    ♥ Do have faith in what you're doing.