scraoer print out only id not whole event on receive

This commit is contained in:
highperfocused 2025-02-13 19:19:23 +00:00
parent b92f2df4b2
commit 3ace323b48

View File

@ -12,7 +12,7 @@ async def relay_websockets(input_websocket, output_websocket, kinds, sub_id):
event = json.loads(await input_websocket.recv())
try:
if(event[0] == "EVENT"):
print("Got event: ", event)
print("Got event: ", event[2]['id'])
# Forward the event to output websocket
await output_websocket.send(json.dumps(["EVENT", sub_id, event[2]]))
elif(event[0] == "EOSE"):