推荐学习书目
› 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 · 2679 views
    This topic created in 2771 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   ·   Privacy   ·   Solana   ·   5155 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 02:03 · PVG 10:03 · LAX 19:03 · JFK 22:03
    ♥ Do have faith in what you're doing.