From e9161c0dddcfdfb7d7f11ca079d4ad78b5e4932c Mon Sep 17 00:00:00 2001 From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com> Date: Thu, 5 Nov 2020 22:18:54 +0900 Subject: [PATCH] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b590e8a..ac63e9f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ pip install pytchat + Show chat stream (--echo option). ```bash -$ pytchat -v https://www.youtube.com/watch?v=uIx8l2xlYVY -o "c:/temp/" +$ pytchat -v uIx8l2xlYVY -o "c:/temp/" # options: # -v : Video ID or URL that includes ID # -o : output directory (default path: './') @@ -61,7 +61,7 @@ while chat.is_alive(): time.sleep(5) ''' # 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()) ''' ```