Merge branch 'main' into main

This commit is contained in:
t.me/xtekky
2023-04-27 13:29:33 +01:00
committed by GitHub
13 changed files with 549 additions and 305 deletions

View File

@@ -37,4 +37,5 @@ while True:
if b'content' in chunk:
# Parse the JSON data and print the content
data = loads(chunk.decode('utf-8').split('data:')[1])
print(data['content'], end='')