you-get、youtube-dl 最近 B 站部分视频下载不了,很困惑

2018-02-03 10:02:17 +08:00
 note286

you-get 前阵子不知道为啥关闭了 issue,有问题都没法提交了,这几天发现 B 站部分视频可以下载,部分视频无法下载,很困惑,大家知道怎么解决吗,就比如谷阿莫的这两集视频,是挨着发布的,一个可以下载,一个不可以下载。

you-get https://www.bilibili.com/video/av18486722
you-get: [error] oops, something went wrong.
you-get: don't panic, c'est la vie. please try the following steps:
you-get:   (1) Rule out any network problem.
you-get:   (2) Make sure you-get is up-to-date.
you-get:   (3) Check if the issue is already known, on
you-get:         https://github.com/soimort/you-get/wiki/Known-Bugs
you-get:         https://github.com/soimort/you-get/issues
you-get:   (4) Run the command with '--debug' option,
you-get:       and report this issue with the full output.
site:                Bilibili
title:               None
stream:
    - format:        flv
      container:     flv
      size:          179.2 MiB (187878378 bytes)
    # download-with: you-get --format=flv [URL]
you-get https://www.bilibili.com/video/av18447844
site:                Bilibili
title:                [谷阿莫]  5 分鐘看完 2017 自己的肉自己吃的電影《雪山奇迹 6 Below 》
stream:
    - format:        flv
      container:     flv
      size:          116.8 MiB (122470241 bytes)
    # download-with: you-get --format=flv [URL]

Downloading  [谷阿莫]  5 分鐘看完 2017 自己的肉自己吃的電影《雪山奇迹 6 Below 》.flv ...
 2.1% (  2.5/116.8MB) ├█───────────────────────────────────────┤[1/1]  964 kB/s

我的 you-get 版本是you-get: version 0.4.1011, a tiny downloader that scrapes the web.最新的开发版。

使用了最新的 2018.01.27 版本的 youtube-dl 也是同样的效果,第一个下载不了,第二个可以下载,求高人解答,谢谢。

18962 次点击
所在节点    Python
22 条回复
note286
2018-04-12 10:17:36 +08:00
chemfinder
2019-09-15 21:58:40 +08:00
知道了 视频链接要双引号就可以了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/428150

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX