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

scrapy 框架支持通用爬取吗?想写一个通用爬取的框架,还要做到增量爬取,大神们给点意见和建议

  •  
  •   wei6666 · May 10, 2018 · 2277 views
    This topic created in 2910 days ago, the information mentioned may be changed or developed.
    4 replies    2018-05-17 18:12:33 +08:00
    codepark
        1
    codepark  
       May 10, 2018
    scrapy 可以的 以上两个问题 你定好自己的规则就 OK 了~
    mimvp
        2
    mimvp  
       May 14, 2018
    可以的,Python scrapy 框架专门就是为了爬虫而生,具体使用可以在 github 上搜索下开源的项目
    我使用 scrapy 框架做爬虫,需要使用到代理 IP,参考了 github 源码:
    https://github.com/mimvp/mimvp-proxy-demo/tree/master/PythonScrapy
    mimvp
        3
    mimvp  
       May 14, 2018
    @mimvp 可以直接下载源码,稍微修改下,就可以直接运行的,执行命令看下注释,很简单的,我成功了
    wei6666
        4
    wei6666  
    OP
       May 17, 2018
    我写一个与公司业务对口的增量抓取框架,有哪位大神写过吗?能讲下或者分享下吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5927 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 01:55 · PVG 09:55 · LAX 18:55 · JFK 21:55
    ♥ Do have faith in what you're doing.