Код: Выделить всё
import pytchat
chat = pytchat.create(video_id="uIx8l2xlYVY")
while chat.is_alive():
for c in chat.get().sync_items():
print(f"{c.datetime} [{c.author.name}]- {c.message}")
Код: Выделить всё
Traceback (most recent call last):
File "pytchat.py", line 14, in
for c in chat.get().sync_items():
AttributeError: 'list' object has no attribute 'sync_items'
Есть идеи, как я могу решить эту проблему? Может быть какой-нибудь автоперезапуск, если лучшего варианта нет?
Подробнее здесь: https://stackoverflow.com/questions/737 ... th-pytchat