Merge branch 'master' into develop

This commit is contained in:
taizan-hokouto
2020-11-05 22:19:11 +09:00

View File

@@ -31,7 +31,7 @@ pip install pytchat
+ Show chat stream (--echo option). + Show chat stream (--echo option).
```bash ```bash
$ pytchat -v https://www.youtube.com/watch?v=uIx8l2xlYVY -o "c:/temp/" $ pytchat -v uIx8l2xlYVY -o "c:/temp/"
# options: # options:
# -v : Video ID or URL that includes ID # -v : Video ID or URL that includes ID
# -o : output directory (default path: './') # -o : output directory (default path: './')
@@ -61,7 +61,7 @@ while chat.is_alive():
time.sleep(5) time.sleep(5)
''' '''
# Each chat item can also be output in JSON format. # Each chat item can also be output in JSON format.
for c in chat.get().sync_items(): for c in chat.get().items:
print(c.json()) print(c.json())
''' '''
``` ```