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

无法录制油管直播 #638

Open
smoothan opened this issue Sep 14, 2023 · 1 comment
Open

无法录制油管直播 #638

smoothan opened this issue Sep 14, 2023 · 1 comment

Comments

@smoothan
Copy link

smoothan commented Sep 14, 2023

从0.4.28版本到最新的0.4.31版本均无法录制油管直播,提示获取错误。尝试在不同的vps上部署都出现相同的错误。
config.toml配置如下

filtering_threshold = 20
lines = "AUTO"
threads = 4
delay = 300
event_loop_interval = 30
checker_sleep = 10
pool1_size = 3
pool2_size = 3
check_sourcecode = 15
use_live_cover = true

[streamers."eight"]
url = [
    "https://www.youtube.com/@eight-audio/live",
]
uploader = "biliup-rs"
user_cookie = "cookies.json"
title = "%Y-%m-%d %H:%M {streamer}"
changed = true
tid = 21
copyright = 1
[user]

[LOGGING.formatters.verbose]
format = "%(asctime)s %(filename)s[line:%(lineno)d](Pid:%(process)d Tname:%(threadName)s) %(levelname)s %(message)s"
datefmt = "%Y-%m-%d %H:%M:%S"

[LOGGING.formatters.simple]
format = "%(filename)s%(lineno)d[%(levelname)s]Tname:%(threadName)s %(message)s"

[LOGGING.handlers.console]
level = "DEBUG"
class = "logging.StreamHandler"
formatter = "simple"
stream = "ext://sys.stdout"

[LOGGING.handlers.file]
level = "DEBUG"
class = "biliup.common.log.SafeRotatingFileHandler"
when = "W0"
interval = 1
backupCount = 1
filename = "ds_update.log"
formatter = "verbose"

[LOGGING.root]
handlers = [
    "console",
]
level = "INFO"

[LOGGING.loggers.biliup]
handlers = [
    "file",
]
level = "INFO"

ds_update.log

2023-09-14 13:26:32 youtube.py[line:51](Pid:2114075 Tname:Thread-1) WARNING Youtube: https://www.youtube.com/@eight-audio/live: 获取错误
2023-09-14 13:27:03 youtube.py[line:51](Pid:2114075 Tname:Thread-1) WARNING Youtube: https://www.youtube.com/@eight-audio/live: 获取错误
2023-09-14 13:27:34 youtube.py[line:51](Pid:2114075 Tname:Thread-1) WARNING Youtube: https://www.youtube.com/@eight-audio/live: 获取错误
2023-09-14 13:28:04 youtube.py[line:51](Pid:2114075 Tname:Thread-1) WARNING Youtube: https://www.youtube.com/@eight-audio/live: 获取错误
@dreammu
Copy link
Contributor

dreammu commented Oct 26, 2023

这种是YouTube的问题,有一些直播间会有这种情况,试试把url改成https://www.youtube.com/channel/UCXKqVoc7khb8cg3ugfrih4g/live看看能不能解决

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

No branches or pull requests

2 participants