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

ixigua.com 这个网站的视频地址都是 src="blob: 以 blob 开头的,这是什么协议? 怎么查这个页面真实的播放地址?

  •  
  •   python30 · Jun 21, 2020 · 4712 views
    This topic created in 2164 days ago, the information mentioned may be changed or developed.
    https://www.ixigua.com/pseries/6799860510079582723/?logTag=jF4fsk2U0TO6ajWtQWDHY

    怎么查这个页面真实的播放地址?
    如果我想采集这个页面的话,看到视频地址是如下:
    <video class="" autoplay="true" tabindex="2" mediatype="video" src="blob:https://www.ixigua.com/67a3ebc5-b80a-4c94-8dff-f1995a1110e2" style="position: absolute; top: 0px; left: 0px;"></video>

    好像也不播放。

    怎么找这页面的真实视频地址并引用?
    3 replies    2020-06-21 13:28:00 +08:00
    yuzo555
        1
    yuzo555  
       Jun 21, 2020   ❤️ 1
    使用 MediaSource 的都会这样,视频是由 JS 合成,而不是原生文件链接。

    至于为什么需要 JS 来合成呢,一般是源文件是 FLV 、HLS 或者 DASH 之类的,PC 浏览器并不原生支持这些,只能通过 JS 来转码成浏览器支持的编码,通过 HTML 音视频元素的 MediaSource 功能来实现播放
    python30
        3
    python30  
    OP
       Jun 21, 2020
    @yuzo555
    @chairuosen
    谢谢。明白了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1017 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 22:58 · PVG 06:58 · LAX 15:58 · JFK 18:58
    ♥ Do have faith in what you're doing.