SmallPeaches / DanmakuRender

一个可以录制带弹幕直播流的小工具
363 stars 38 forks source link

抖音直播链接带点无法录制 #295

Open yibingchaoyue opened 3 months ago

yibingchaoyue commented 3 months ago

即将添加以下配置文件:['configs\replay-1.yml']

Traceback (most recent call last): File "C:\ChronoDownloads\DanmakuRender-2024.05.30\DanmakuRender-2024.05.30\DMR\LiveAPI\douyin.py", line 58, in init self.real_rid = resp['data'][0]['id_str']


IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\ChronoDownloads\DanmakuRender-2024.05.30\DanmakuRender-2024.05.30\main.py", line 101, in <module>
    dmr.start()
  File "C:\ChronoDownloads\DanmakuRender-2024.05.30\DanmakuRender-2024.05.30\DMR\__init__.py", line 57, in start
    downloader = Downloader(
                 ^^^^^^^^^^^
  File "C:\ChronoDownloads\DanmakuRender-2024.05.30\DanmakuRender-2024.05.30\DMR\Downloader\__init__.py", line 37, in __init__
    self.liveapi = LiveAPI(self.plat, self.rid)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ChronoDownloads\DanmakuRender-2024.05.30\DanmakuRender-2024.05.30\DMR\LiveAPI\__init__.py", line 23, in __init__
    self.api_class = douyin(rid=self.rid)
                     ^^^^^^^^^^^^^^^^^^^^
  File "C:\ChronoDownloads\DanmakuRender-2024.05.30\DanmakuRender-2024.05.30\DMR\LiveAPI\douyin.py", line 60, in __init__
    raise Exception(f'解析抖音房间号{rid}错误.')
Exception: 解析抖音房间号888ywy888错误.
SmallPeaches commented 3 months ago

你试下输它的标准数字直播间号看看?

yibingchaoyue commented 3 months ago

你试下输它的标准数字直播间号看看? 标准的可以,但每次得开播才知道标准的房间号,有时候想录看见的主播,又是小数点结尾就不太好录,应该就是小数点的问题