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

如何下载知乎 m3u8 视频

  •  
  •   mingyun · Jan 7, 2018 · 3619 views
    This topic created in 3055 days ago, the information mentioned may be changed or developed.

    视频地址 https://v.vzuu.com/video/930514486520012800 抓包看到 https://lens.zhihu.com/api/videos/930514486520012800 这个请求 ,里面有 m3u8 地址,但是用 ffmpeg 下载失败了

    $ ffmpeg  -i 'https://vdn.vzuu.com/Act-ss-m3u8-hd/74d0edb67b0c44dca559375da1e4df74/6005a040-ed51-11e7-9313-0242ac112a03None.m3u8?auth_key=1515338325-0-0-89d1ba089ceda0022fff9f4448af9786&expiration=1515338325&disable_local_cache=0' 'jump.mp4'
    [https @ 0000000000099280] HTTP error 403 Forbidden
    https://vdn.vzuu.com/Act-ss-m3u8-hd/74d0edb67b0c44dca559375da1e4df74/6005a040-ed51-11e7-9313-0242ac112a03None.m3u8?auth_key=1515338325-0-0-89d1ba089ceda0022fff9f4448af9786&expiration=1515338325&disable_local_cache=0: Server returned 403 For
    bidden (access denied)
    
    2 replies    2018-11-23 23:57:23 +08:00
    mingyun
        2
    mingyun  
    OP
       Nov 23, 2018
    ffmpeg -i "https://xxx.m3u8" -vcodec copy -acodec copy -absf aac_adtstoasc baihespxyz.mp4
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1203 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 23:30 · PVG 07:30 · LAX 16:30 · JFK 19:30
    ♥ Do have faith in what you're doing.