V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
Ewig
V2EX  ›  Python

scrapy

  •  
  •   Ewig · Feb 14, 2019 · 1965 views
    This topic created in 2637 days ago, the information mentioned may be changed or developed.
    Scrapy 提供了内置的 Telnet 终端,以供检查,控制 Scrapy 运行的进程。Telnet 仅仅是一个运行在 Scrapy 进程中的普通 Python 终端。因此你可以在其中做任何是。


    这个 Telnet 在 scrapy 中什么作用,我的脚本挂在服务器报错如下

    [scrapy.utils.signal][ERROR] Error caught on signal handler: > Traceback (most recent call last): File "/home/www/.local/lib/python3.4/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred result = f(args, **kw) File "/usr/lib/python3.4/site-packages/pydispatch/robustapply.py", line 55, in robustApply return receiver(arguments, **named) File "/home/www/.local/lib/python3.4/site-packages/scrapy/extensions/telnet.py", line 63, in stop_listening self.port.stopListening() AttributeError: 'TelnetConsole' object has no attribute 'port'
    1 replies    2019-02-15 08:13:05 +08:00
    julyclyde
        1
    julyclyde  
       Feb 15, 2019
    你已经发过一遍了,请勿重复发帖
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2815 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:53 · PVG 21:53 · LAX 06:53 · JFK 09:53
    ♥ Do have faith in what you're doing.