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

这两天卡住了,请帮忙看看吧 #621

Closed
alantang1977 opened this issue Dec 3, 2024 · 13 comments
Closed

这两天卡住了,请帮忙看看吧 #621

alantang1977 opened this issue Dec 3, 2024 · 13 comments
Labels
bug Something isn't working question Further information is requested

Comments

@alantang1977
Copy link

🥳 Update completed! Total time spent: 09:48. Please check the output/user_result.txt file!

这两天卡住了,请帮忙看看吧

@Guovin
Copy link
Owner

Guovin commented Dec 3, 2024

请给出详细问题描述与日志

@Guovin Guovin added the question Further information is requested label Dec 3, 2024
@alantang1977
Copy link
Author

微信截图_20241203174605
就图片情况,我也不清楚是那有问题!

@Guovin
Copy link
Owner

Guovin commented Dec 3, 2024

貌似是已经更新完成了,但工作流并没有及时进入下一个流程,具体我去排查下原因

@Guovin Guovin added the bug Something isn't working label Dec 3, 2024
@alantang1977
Copy link
Author

我是重新FOR一次你的仓库,运行都一样,麻烦你!多谢!

@hllkk
Copy link

hllkk commented Dec 4, 2024

@Guovin 大神,我发现个中端倪,当一个链接为播放列表时,会导致程序卡住,比如URL:http://zsntlqj.xicp.net:8896/bysid/83.m3u8 直接调用get_speed就会卡住,得一个多小时即便异步任务执行完毕,也会让程序卡住。

@solo30years
Copy link

solo30years commented Dec 4, 2024 via email

@Guovin
Copy link
Owner

Guovin commented Dec 4, 2024

@Guovin 大神,我发现个中端倪,当一个链接为播放列表时,会导致程序卡住,比如URL:http://zsntlqj.xicp.net:8896/bysid/83.m3u8 直接调用get_speed就会卡住,得一个多小时即便异步任务执行完毕,也会让程序卡住。

感谢提供链接,之前我就发现了某些链接在被yt_dlp调用时会出现类似的问题,但一直找不出这些链接。之前使用多线程调用yt_dlp出现了这种问题,会卡在某些链接,出现后台线程无限下载的情况。尽管只是使用extract_info(url, download=False),也已经跳过了下载。后来改成异步超时中断处理,以为解决了,但最近还是出现了这种情况。我查看了yt_dlp的文档,可惜的是没有提供类似超时处理的参数设置和方法,这也应该是yt_dlp的bug,似乎也没有人对这个问题在yt_dlp提出过类似的issue。在yt_dlp没有解决这个bug之前,我觉得可以分析下这类链接的共同独有特征,在测速前过滤掉,避免对这类链接进行yt_dlp的处理。

@alantang1977
Copy link
Author

那如何解决呢,不太懂,哈哈

@Guovin
Copy link
Owner

Guovin commented Dec 5, 2024

那如何解决呢,不太懂,哈哈

可以先将这个链接加入黑名单配置(url_keywords_blacklist)

@Guovin
Copy link
Owner

Guovin commented Dec 12, 2024

该问题工作流已经解决,请更新最新代码,其它模式需要等待下版更新

@zg4321
Copy link

zg4321 commented Dec 12, 2024

该问题工作流已经解决,请更新最新代码,其它模式需要等待下版更新

辛苦了

@Vendong
Copy link

Vendong commented Dec 13, 2024

该问题工作流已经解决,请更新最新代码,其它模式需要等待下版更新

我自己的经验是,做个看门狗,超时直接杀进程

@Guovin Guovin mentioned this issue Dec 16, 2024
@Guovin
Copy link
Owner

Guovin commented Dec 17, 2024

v1.5.6已更新,该问题已修复。由于yt-dlp维护人员认为触发该问题是一个“非法”的链接,不予以支持并解答。目前已移除使用yt-dlp,改用其它方法实现。

@Guovin Guovin closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants