V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
Gem
V2EX  ›  Python

Scrapy 支持 python3(转帖发布)

  •  
  •   Gem · 2016-02-05 14:04:27 +08:00 · 2609 次点击
    这是一个创建于 3000 天前的主题,其中的信息可能已经有所发展或是发生改变。
    源于一个提问, http://v2ex.com/t/255513 ,因为 Scrapy 不支持 python3 而纠结 python3 和 python2 的同学,可以平复一下了,现在 Scrapy 支持 python3 了,虽然肯定还会有些不完美的地方,例如官方提到的:

    Python 3 Limitations

    This beta release includes some limitations for Python 3 (which will not affect Python 2 users):

    Scrapy doesn ’ t work yet in Windows with Python 3
    S3 downloads are not supported yet
    Sending emails is not supported yet
    Telnet is not supported yet
    FTP download handler is not supported yet
    Some non-ASCII URLs may fail in Scrapy with Python 3

    等等。

    具体情况,看官方发布说明:

    http://doc.scrapy.org/en/stable/news.html#news-betapy3


    感谢 @congeec @lvye 两位同学的信息提醒,看到 v 上面还没有这个消息,特此添加一下,让更多关注 Scrapy 的同学看到,本帖消息的发布应属 @congeec @lvye 两位同学,@Gem 算是借着我提问的那个主题,转帖发布了。
    6 条回复    2016-04-11 23:15:31 +08:00
    mikicomo
        1
    mikicomo  
       2016-02-05 14:52:38 +08:00
    资瓷!
    WildCat
        2
    WildCat  
       2016-02-05 15:32:16 +08:00
    总算支持了。。前两天看 issue 据说还是 2 月下旬才支持。

    借贴问下如何配合 celery 定时爬取呢
    tabris17
        3
    tabris17  
       2016-02-05 15:33:47 +08:00
    要撒花了
    Kirscheis
        4
    Kirscheis  
       2016-02-05 15:57:18 +08:00 via Android
    赞一个,现在就去试试
    qwertyio12368
        5
    qwertyio12368  
       2016-02-13 21:47:05 +08:00
    支持啊 支持啊
    hjq98765
        6
    hjq98765  
       2016-04-11 23:15:31 +08:00
    挖个坟,连 scrapy 都资瓷 3 了!喜大普奔!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1272 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:51 · PVG 01:51 · LAX 10:51 · JFK 13:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.