From f8822a053f6228456c8ad6c59272a0c0a2df0d2b Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sun, 8 Mar 2020 23:33:50 +0900 Subject: [PATCH] Add desription to README.md --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3038127..0f7bcea 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,23 @@ For more detailed information, see [wiki](https://github.com/taizan-hokuto/pytch ```python pip install pytchat ``` -## Demo -![demo](https://taizan-hokuto.github.io/statics/demo.gif "demo") - ## Examples + +### CLI + +One-liner command. +Save chat data to html. + +```bash +$ pytchat -v ZJ6Q4U_Vg6s -o "c:/temp/" + +# options: +# -v : video_id +# -o : output directory (default path: './') +# saved filename is [video_id].html +``` + + ### on-demand mode ```python from pytchat import LiveChat