Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

好像脚本录不了youtube网站的直播。。 #60

Open
DMC-cmd997 opened this issue Jun 22, 2021 · 2 comments
Open

好像脚本录不了youtube网站的直播。。 #60

DMC-cmd997 opened this issue Jun 22, 2021 · 2 comments
Labels
question Further information is requested

Comments

@DMC-cmd997
Copy link

[19:57:17.376523][cli][info] streamlink is running as root! Be careful!
[19:57:17.385295][cli][debug] OS: Linux-4.15.0-134-generic-x86_64-with-Ubuntu-18.04-bionic
[19:57:17.385564][cli][debug] Python: 3.6.9
[19:57:17.385628][cli][debug] Streamlink: 2.1.2
[19:57:17.385684][cli][debug] Requests(2.25.1), Socks(1.7.1), Websocket(1.1.0)
[19:57:17.386480][cli][debug] Arguments:
[19:57:17.386701][cli][debug] url=https://www.youtube.com/watch?v=jZ4CLd3bIdU
[19:57:17.386755][cli][debug] stream=['best']
[19:57:17.386836][cli][debug] --loglevel=trace
[19:57:17.386918][cli][debug] --output=record_video/other/youtube_UC1suqwovbL1kzsoaZgFZLKg_20210622_195716_jZ4CLd3bIdU.ts
[19:57:17.387017][cli][debug] --hls-live-restart=True
[19:57:17.387243][cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=jZ4CLd3bIdU
[19:57:17.387326][plugins.youtube][debug] Video ID from URL
[19:57:17.387376][plugins.youtube][debug] Using video ID: jZ4CLd3bIdU
error: Unable to open URL: https://youtube.com/get_video_info (404 Client Error: Not Found for url: https://www.youtube.com/get_video_info?video_id=jZ4CLd3bIdU&html5=1&el=detailpage)

看了下那个日志文件,提示是这样的。还有一键脚本安装是不是有问题,默认安装在系统根目录下了,不是安装在root目录下。

@lovezzzxxx
Copy link
Owner

应该是streamlink版本太旧了,更新一下试试?
安装的位置不管在哪里只要能直接调用就可以了

@lovezzzxxx lovezzzxxx added the question Further information is requested label Jun 22, 2021
@DMC-cmd997
Copy link
Author

好了,更新了Streamlink 就可以了 ,谢谢作者。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants