willme105
V2EX  ›  问与答

scrapy 中文编码问题

  •  
  •   willme105 · Jan 10, 2015 · 4649 views
    This topic created in 4163 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   ·   1263 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:38 · PVG 01:38 · LAX 10:38 · JFK 13:38
    ♥ Do have faith in what you're doing.