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

有人研究过东方财富的这个页面的 URL 规则吗

  •  
  •   gimp · 2016-09-19 16:37:57 +08:00 · 1891 次点击
    这是一个创建于 2789 天前的主题,其中的信息可能已经有所发展或是发生改变。
    4 条回复    2016-09-20 10:20:07 +08:00
    aeshfawre
        1
    aeshfawre  
       2016-09-19 16:53:30 +08:00
    这规则没办法直接反推出来,没必要去推测的,因为有其他解决方法。
    你想爬取这个数据的话,只需要一页页的翻过去就可以的。
    zongren
        2
    zongren  
       2016-09-19 17:06:19 +08:00
    有没有可能后面的随机字符串是页面的唯一标志
    http://data.eastmoney.com/report?date=20160919&id=APPH5Ql7JtQYASearchReport
    Izual_Yang
        3
    Izual_Yang  
       2016-09-19 23:33:47 +08:00
    base64 解码一下看看?
    gimp
        4
    gimp  
    OP
       2016-09-20 10:20:07 +08:00
    @aeshfawre 是的,要是能找到 URL 解析规则就更好了
    @zongren 看样子只有 5Ql7JtQY 这 8 位是变化的
    @Izual_Yang 尝试过了,没发现什么规律
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1052 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:21 · PVG 06:21 · LAX 15:21 · JFK 18:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.