推荐学习书目
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
dengwen168
V2EX  ›  Python

请问一下 scrapy 爬虫的 received_count 和 scraped_count 相差很大是什么原因?

  •  
  •   dengwen168 · Jul 12, 2019 · 2223 views
    This topic created in 2522 days ago, the information mentioned may be changed or developed.
    请问一下大家,scrapy 的报告中显示:received_count 69941, scraped_count 66392, 那中间的差异数 3000 多条是什么原因,
    是不是一些网页上的杂七杂八的不重要的其他的数据,

    还是真实的我要抓取的数据,但没有抓取到?但是我 scrapy 并没有报错呀。。

    谢谢。。

    另外,大家用 scrapy 采集写入 Mysql 的时候,都用 twisted 吗?
    会不会是因为我没有使用 twisted 的原因,导致一些数据采集了,但来不及插入数据库?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1139 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:36 · PVG 01:36 · LAX 10:36 · JFK 13:36
    ♥ Do have faith in what you're doing.