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

现在百度谷歌的搜索结果 URL 都加密了, Python 怎么破

  •  
  •   sun1534 · Feb 8, 2015 · 6897 views
    This topic created in 4144 days ago, the information mentioned may be changed or developed.
    学python,照着网上的教程试着采集百度谷歌的搜索结果,尼玛一看,搜索结果里面的一条条URL都是加密了的,用python怎么破?
    11 replies    2015-02-16 12:10:34 +08:00
    greatdk
        1
    greatdk  
       Feb 8, 2015   ❤️ 1
    Slienc7
        2
    Slienc7  
       Feb 8, 2015 via Android
    上周看到有个干净版百度,自己搜下看看,加个参数后没有链接加密
    babyname
        3
    babyname  
       Feb 8, 2015
    @greatdk 加了
    sun1534
        4
    sun1534  
    OP
       Feb 8, 2015   ❤️ 3
    breeswish
        6
    breeswish  
       Feb 8, 2015
    噢抱歉没仔细看问题,对于 Google 来说,原始网页上的 URL 没有加密可以直接用;对于百度来说,非 Ajax 搜索结果也是没有加密的,要让百度呈现非 Ajax 搜索结果 1# 已经给出最简单方法了
    Delbert
        7
    Delbert  
       Feb 8, 2015
    kongkongyzt
        8
    kongkongyzt  
       Feb 8, 2015 via Android
    这不算加密吧,只是一个简单的urlencode而已
    kongkongyzt
        9
    kongkongyzt  
       Feb 8, 2015 via Android
    我也看错了,6楼说的对
    wbsdty331
        10
    wbsdty331  
       Feb 8, 2015
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2824 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 1283ms · UTC 15:14 · PVG 23:14 · LAX 08:14 · JFK 11:14
    ♥ Do have faith in what you're doing.