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
huyu
V2EX  ›  Python

Scrapy 的 CrawlSpider+selenium 爬取一个网站,出现了一些问题

  •  
  •   huyu · Feb 27, 2019 · 2298 views
    This topic created in 2617 days ago, the information mentioned may be changed or developed.

    虽然网页匹配成功,也在不停跟进,但就是不执行回调函数,没有任何结果!有没有大佬知道原因

    1 replies    2019-07-09 11:11:21 +08:00
    xiushenbuhuihui
        1
    xiushenbuhuihui  
       Jul 9, 2019
    使用 selenium 后将 scrapy 的异步模式改成了同步模式,保存到 item 会相对之前慢一些,让程序跑一会就有结果了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1011 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 204ms · UTC 19:11 · PVG 03:11 · LAX 12:11 · JFK 15:11
    ♥ Do have faith in what you're doing.