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

使用爬虫爬取搜索结果的时候如何避免被自动纠错

  •  
  •   leisurelylicht · Nov 24, 2015 · 2582 views
    This topic created in 3863 days ago, the information mentioned may be changed or developed.

    我想爬取的关键字是 mybosc,百度会自动纠错后搜索 my boss.

    怎么办?

    9 replies    2015-11-25 15:24:51 +08:00
    momo1999
        1
    momo1999  
       Nov 24, 2015
    nojc=1
    leisurelylicht
        2
    leisurelylicht  
    OP
       Nov 24, 2015
    @shuax 多谢
    justjavac
        3
    justjavac  
       Nov 24, 2015
    nojc = no Jiu Cuo = no 纠错
    leisurelylicht
        4
    leisurelylicht  
    OP
       Nov 24, 2015
    @justjavac 其他的搜索引擎也是一样的吗?
    justjavac
        5
    justjavac  
       Nov 24, 2015
    @leisurelylicht google 肯定不是了
    Delbert
        6
    Delbert  
       Nov 24, 2015 via Android
    不应该是加双引号吗?
    dong3580
        7
    dong3580  
       Nov 24, 2015
    @justjavac
    估计不好抓吧,上次搞了半天取不出来内容,
    dong3580
        8
    dong3580  
       Nov 24, 2015
    @justjavac
    打错了。估计=>谷歌
    mulog
        9
    mulog  
       Nov 25, 2015
    这个参数名起得真是。。。
    如果在代码里有 isJiuCuoEnabled 这种东西程序员不会想打人吗。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3677 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 05:03 · PVG 13:03 · LAX 22:03 · JFK 01:03
    ♥ Do have faith in what you're doing.