From 48f07bdf3433ea58d9806c9a5d66118d3a26d447 Mon Sep 17 00:00:00 2001 From: "55448286+taizan-hokuto@users.noreply.github.com" Date: Sun, 3 Nov 2019 09:42:41 +0900 Subject: [PATCH] Update README --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d2190c0..f0fd81e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ pytchat pytchat is a python library for fetching youtube live chat. ## Description -pytchat is a python library for fetching youtube live chat. +pytchat is a python library for fetching youtube live chat without using youtube api, Selenium or BeautifulSoup. Other features: @@ -20,6 +20,7 @@ pip install pytchat ``` ## Examples +### on-demand mode ```python from pytchat import LiveChat @@ -31,7 +32,7 @@ while chat.is_alive(): data.tick() ``` -###callback mode +### callback mode ```python from pytchat import LiveChat @@ -46,7 +47,7 @@ def func(chatdata): chat.tick() ``` -###asyncio context: +### asyncio context: ```python from pytchat import LiveChatAsync import asyncio @@ -67,7 +68,7 @@ loop.run_until_complete(main()) ``` -###yt api compatible processor: +### yt api compatible processor: ```python from pytchat import LiveChat, CompatibleProcessor @@ -189,6 +190,7 @@ Structure of author object. + ## Licence [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)