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 也是同样的效果,第一个下载不了,第二个可以下载,求高人解答,谢谢。

18947 次点击
所在节点    Python
22 条回复
redapple0204
2018-02-03 10:05:11 +08:00
我这倒好,,全都无法下载
note286
2018-02-03 10:06:16 +08:00
@redapple0204 你可以试试使用开发版
```
sudo pip3 install --upgrade https://github.com/soimort/you-get/archive/develop.zip
```
expy
2018-02-03 11:36:25 +08:00
土办法一个。播放时 F12 找到地址,一段一段下回来,ffmpeg 合并,帧率显示错误可以 lsmash 再混流一次。
onion83
2018-02-03 11:51:27 +08:00
don't panic, c'est la vie
watermeter
2018-02-03 11:58:07 +08:00
KNOX
2018-02-03 12:00:36 +08:00
我前段时间用 youtube-dl 下载过啊 要加 refer
ioc
2018-02-03 12:06:44 +08:00
接上面的土办法 F12 找到后,可以用这个工具自动下载合并。

https://github.com/XhstormR/GetBilibili-C
7654
2018-02-03 12:18:00 +08:00
昨天翻 you-get 仓库发现的 fork 版 lulu,可解决大部分不能下载的问题
https://github.com/iawia002/Lulu
sungkyu
2018-02-03 13:47:49 +08:00
斗鱼的直播都下载不了了
xuyl
2018-02-03 16:24:38 +08:00
很多 pr,官方拖了好久没合并,所以我也是用了 lulu
note286
2018-02-03 17:31:58 +08:00
@7654 非常感谢,好用
MemoryCorner
2018-02-03 17:33:58 +08:00
lulu 似乎也不行,我等了好久,youtube-dl 和 you-get 就是没更新
dada0627
2018-02-03 17:35:38 +08:00
用 IDM 下吧
locoz
2018-02-03 17:54:09 +08:00
最新的开发版应该是可以的啊?试了一下旧版本找不到标题会报错
Commits on Feb 3, 2018
[bilibili] fix some title regexes
iawia002
2018-02-03 18:53:20 +08:00
hi,大家好,我是 iawia002,lulu 的维护者,以前也是 you-get 的 Contributor
fork 它出来自己搞的主要原因有两个:1.you-get 的更新速度实在太慢,2.you-get 的很多 extractors 的代码太乱了,soimort 对 PR 的态度又很随意,这样只会导致整个项目代码越来越难以阅读和维护
如果大家有什么问题可以提 Issues,也欢迎 Pull request
note286
2018-02-03 19:41:09 +08:00
@MemoryCorner Lulu 目前解决了我的问题
Geoion
2018-02-03 19:48:31 +08:00
感谢推荐
Cu635
2018-02-04 15:05:07 +08:00
@iawia002
然后 you-get 的 issue 还关闭了。。。
iawia002
2018-02-04 18:31:09 +08:00
@Cu635 这个是因为 soimort 说他想尝试一种激进的提 issue 的方式,通过 PR 来提,你使用的哪个 extractor 挂了你就添加一个对应的单元测试来报告
xiaoke0718
2018-04-05 21:42:12 +08:00
我也是不行了 努力找方法

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

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

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

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

© 2021 V2EX