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
qwertyzzz
V2EX  ›  Python

想问个爬虫问题

  •  
  •   qwertyzzz ·
    123 · 2019-02-25 20:55:04 +08:00 · 2857 次点击
    这是一个创建于 1859 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://www.xuexi.cn/4426aa87b0b64ac671c96379a3a8bd26/db086044562a57b441c24f2af1c8e101.html

    网址是这个

    需要的列表是

    看了下页面好复杂。。只会一点 js,看他分页也没有 ajax 请求的。。难道是一次性加载了所有然后 vuejs 分页的吗。。没学过 vue 额 ,也没学过 python 不过感觉简单的应该还行吧 这个好难。有老哥提供下思路吗

    11 条回复    2019-02-27 16:30:26 +08:00
    qwertyzzz
        2
    qwertyzzz  
    OP
       2019-02-25 21:05:36 +08:00
    @bestie 好的 我来看看
    qwertyzzz
        3
    qwertyzzz  
    OP
       2019-02-25 21:10:09 +08:00
    @bestie 你这个咋找到的呀 我去 source 里没翻到
    bestie
        4
    bestie  
       2019-02-25 21:15:56 +08:00
    @qwertyzzz 写在 html 里的
    rust
        5
    rust  
       2019-02-25 21:42:57 +08:00
    善用 Chrome 的 F12 啊
    Eiden
        6
    Eiden  
       2019-02-25 21:50:59 +08:00   ❤️ 1
    ctrl+shift+f 全局搜一下就有了
    https://i.loli.net/2019/02/25/5c73f29b3e55f.png
    qwertyzzz
        7
    qwertyzzz  
    OP
       2019-02-25 22:03:23 +08:00
    @rust@eiden
    3q3q 意思是这个直接全部从一个 js 里读取的吗。。难怪这么卡
    caqiko
        8
    caqiko  
       2019-02-25 22:24:29 +08:00
    @qwertyzzz 这个存数据的方式也是奇特
    xiangyuecn
        9
    xiangyuecn  
       2019-02-25 22:39:27 +08:00
    4.4M 的 js 蛮神奇的

    en20
        10
    en20  
       2019-02-26 11:22:41 +08:00
    @xiangyuecn 看了下 vue 还是用 1.0 的,同一个 jquery 文件重复加载 5 次,前端可以解雇了
    a528518960
        11
    a528518960  
       2019-02-27 16:30:26 +08:00
    牛皮牛皮,直接把这个页面上得数据全部一次性得传过来了,datadb086044562a57b441c24f2af1c8e101.js ,这个文件里面
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2667 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:17 · PVG 23:17 · LAX 08:17 · JFK 11:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.