V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
willme105
V2EX  ›  问与答

scrapy 中文编码问题

  •  
  •   willme105 · Jan 10, 2015 · 4574 views
    This topic created in 4136 days ago, the information mentioned may be changed or developed.

    刚接触scrapy,发现这个爬虫很不错。现在有个问题,在爬中文网站的时候,总是输出Unicode,我用encode('utf-8')还是不能解决。网上找了别人的教程说这样可以解决。不知道哪里出错了。我的是mac os环境。
    谢谢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5087 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 03:55 · PVG 11:55 · LAX 20:55 · JFK 23:55
    ♥ Do have faith in what you're doing.