You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "chat_replay_downloader.py", line 455, in <module>
chat_messages = chat_downloader.get_chat_replay(
File "chat_replay_downloader.py", line 409, in get_chat_replay
return self.get_youtube_messages(match.group(1), start_time, end_time, message_type)
File "chat_replay_downloader.py", line 333, in get_youtube_messages
data = self.__parse_item(item)
File "chat_replay_downloader.py", line 235, in __parse_item
self.__time_to_seconds(data['time_text']))
KeyError: 'time_text'
I think this is because the last data variable values are:
I thought Google used to be a company that excelled at being on top of its game providing #1 best excellent resource of information and documentation and analysis, but I think that is no longer the case. Bummer!
The text was updated successfully, but these errors were encountered:
@jasonkhanlar Hi again Jason. To add debugging features to the software, I have tried to find an example of every "message type". One of which is the liveChatPurchasedProductMessageRenderer as you've discovered above. However, it would seem as though the video above has removed the item from the stream - for some reason?
Do you perhaps know of another video/stream which has it? I actually tried every single live stream from the above channel, but to no avail. I've also googled it, but nothing comes up. It would seem as though you were the first one to discover it.
python chat_replay_downloader.py https://youtu.be/y5ih7nqEoc4 -message_type all -output y5ih7nqEoc4
Just after reachin 1:52:29 into parsing I see:
I think this is because the last data variable values are:
Watching the video and chat replay on YouTube during that time I see...aha! I see now!
Therefore, it seems like event handling for this other message type is what the problem is
Specifically
liveChatPurchasedProductMessageRenderer
Adding it as line 45 fixes it:
I'm surprised that I can't find any API documentation info about it at https://developers.google.com/youtube/v3/live/docs/liveChatMessages
I thought Google used to be a company that excelled at being on top of its game providing #1 best excellent resource of information and documentation and analysis, but I think that is no longer the case. Bummer!
The text was updated successfully, but these errors were encountered: