biliup icon indicating copy to clipboard operation
biliup copied to clipboard

无法录制油管直播

Open smoothan opened this issue 1 year ago • 1 comments

从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: 获取错误

smoothan avatar Sep 14 '23 05:09 smoothan

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

dreammu avatar Oct 26 '23 12:10 dreammu