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

字符串部分数字变成奇怪的编码符号

  •  
  •   aoscici2000 · Nov 29, 2018 · 2044 views
    This topic created in 2922 days ago, the information mentioned may be changed or developed.

    在学 scrapy 爬取数据的时候,出现了这种奇怪的东西是怎么回事

    大部分都是正常的,大概 1/10 出现问题

    本该是数字的,变成这种奇怪的符号

    ...

    蓝鼎铂金园 简单装修 南北通透 3 室 2 厅 1 卫 120 1300

    供电局小区 麣室龤厅龤卫 麣室龤厅龤卫 齤龒 閏鸺龒

    府苑小区 3 室 2 厅 1 卫 3 室 2 厅 1 卫 92.16 1200

    天龙小区 龤室龤厅龤卫 主卧(龤室) 鑶龥 鑶龥龥

    ...

    求怎么处理恢复正常 ?

    3 replies  •  2018-12-05 21:39:40 +08:00
    ClutchBear
    ClutchBear
    Nov 29, 2018
    1
    这是网站加密的吧.
    有这种加密方式的. 防爬得.

    58 同城和猫眼都用的这种
    aoscici2000
    aoscici2000
    OP
    Nov 29, 2018
    2
    @ClutchBear 那么, 有什么办法解决吗?
    pythonwood
    pythonwood
    Dec 5, 2018
    3
    最近也遇到了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4500 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 06:40 · PVG 14:40 · LAX 22:40 · JFK 01:40
    ♥ Do have faith in what you're doing.