V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
mapnaqi
V2EX  ›  Python

求教~

  •  
  •   mapnaqi · 2019-01-14 11:09:14 +08:00 · 1457 次点击
    这是一个创建于 1900 天前的主题,其中的信息可能已经有所发展或是发生改变。

    遇到一个新问题, 不知道怎么往下走了 http://www.epzhidao.com/product_n/product.html?q=1-1 网址有一个 debug 反爬, 过了之后找不到数据, 排除一些之后,猜测数据在 http://www.epzhidao.com/datanew2/enc3/p/p_m_1.js 里面,但是数据为纯文本,得不到数据, 求各位大佬给个方向......

    7 条回复    2019-01-15 08:59:16 +08:00
    foxyier
        1
    foxyier  
       2019-01-14 12:31:41 +08:00
    你想要的可能是这个 http://www.epzhidao.com/datanew2/s.js
    mapnaqi
        2
    mapnaqi  
    OP
       2019-01-14 13:17:14 +08:00
    @foxyier 我想要的是本体和附件里面的数据, 想看一下这种选型是怎么做的
    supervipcard
        3
    supervipcard  
       2019-01-14 16:55:41 +08:00
    前端做了解密吧
    supervipcard
        4
    supervipcard  
       2019-01-14 16:56:03 +08:00
    话说你是怎么绕过它的 debug 反爬的
    mapnaqi
        5
    mapnaqi  
    OP
       2019-01-14 17:15:57 +08:00
    @supervipcard 解密不清楚, debug 谷歌 F12 里面的 Sources, 右边一个暂停按钮点灰色, 左边一个按钮点绿色, Console 里面输 变量名 = function(){}, 变量名忘记了
    mapnaqi
        6
    mapnaqi  
    OP
       2019-01-14 17:16:32 +08:00
    @supervipcard 点完 F12 不关闭 刷新网页就行了
    supervipcard
        7
    supervipcard  
       2019-01-15 08:59:16 +08:00
    @mapnaqi 调试功能不打开么
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1180 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 23:07 · PVG 07:07 · LAX 16:07 · JFK 19:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.