利用youtube-dl
软件下载youtube 被认为非常有用。
看到一条消息,并且它停止了工作,接下来是。
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
我应该怎么做才能继续?
1
它在消息中明确指出:“请在yt-dl.org/bug上报告此问题”那么为什么不这样做呢?
—
Rinzwind
Make sure you are using the latest version; type youtube-dl -U to update.
是你做的吗?
亲爱的大卫·佛斯特(David Foerster),我尝试过并收到一条消息:“您似乎已使用软件包管理器,pip,setup.py或tarball安装了youtube-dl。请使用它进行更新。”
—
塔延2015年
@HELLOVENUS你是对的
—
karel 2015年
youtube-dl -U
不再起作用了。有关将youtube-dl更新到最新版本的说明,请访问:youtube-dl不起作用。顺便说一句,如果您使用pip install --upgrade youtube-dl
而不是它也可以使用,pip install --upgrade youtube_dl
并且还可以在Python虚拟环境中完成本地安装(即不使用sudo)。