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

Charles 无法抓取网易云音乐 app 的包?

  •  
  •   onsala · Feb 20, 2017 · 5430 views
    This topic created in 3369 days ago, the information mentioned may be changed or developed.

    尝试解析电脑端网易云音乐的加密方式,但太复杂了,决定放弃。在 GitHub 上看了一下其他朋友的项目,发现他们基本都是通过移动端抓取的。之前爬过知乎用移动端的 api 确实要方便很多,所以我也决定从移动端(Android)来解析。

    我使用的抓包工具是 Ubuntu 版本的 Charles4.02 ,但是不知道为什么使用 Charles 可以抓取知乎等 app 的 api 包都可以正确解析,唯独网易云音乐的包解析不了。

    从下面截图可以看出,知乎的每一个包我都可以正确抓取到:

    Charles

    SSL

    请问 V 站的各位朋友使用 Charles 遇到过这种情况吗?能不能推荐一下相关的解决方法?

    fantastM
        1
    fantastM  
       Feb 20, 2017
    记得 Charles 只能抓取 http 吧
    marginleft
        2
    marginleft  
       Feb 21, 2017 via iPhone
    ssl pinning
    cece0417
        3
    cece0417  
       Feb 21, 2017
    我们自己产品测试环境的 https 可以抓到,然后正式环境的 https 就解析不了。估计可能网易云也作了限制吧
    onsala
        4
    onsala  
    OP
       Feb 21, 2017
    @fantastM 好像是这个原因。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1072 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 22:54 · PVG 06:54 · LAX 15:54 · JFK 18:54
    ♥ Do have faith in what you're doing.