Update README

This commit is contained in:
taizan-hokouto
2020-12-05 21:07:11 +09:00
parent 35a27fee3e
commit 8b18f4476a

View File

@@ -4,15 +4,7 @@ pytchat
pytchat is a python library for fetching youtube live chat. pytchat is a python library for fetching youtube live chat.
## Note (2020-11-19)
### Since the YouTube specification has changed, this program does not work well.
### Whether to fix it or not is undecided.
<br><br><br> <br><br><br>
## Description ## Description
pytchat is a python library for fetching youtube live chat pytchat is a python library for fetching youtube live chat
without using Selenium or BeautifulSoup. without using Selenium or BeautifulSoup.
@@ -32,23 +24,6 @@ pip install pytchat
``` ```
## Examples ## Examples
### CLI
+ One-liner command.
+ Save chat data to html with embedded custom emojis.
+ Show chat stream (--echo option).
```bash
$ pytchat -v uIx8l2xlYVY -o "c:/temp/"
# options:
# -v : Video ID or URL that includes ID
# -o : output directory (default path: './')
# --echo : Show chats.
# saved filename is [video_id].html
```
### Fetch chat data (see [wiki](https://github.com/taizan-hokuto/pytchat/wiki/PytchatCore)) ### Fetch chat data (see [wiki](https://github.com/taizan-hokuto/pytchat/wiki/PytchatCore))
```python ```python
@@ -84,8 +59,6 @@ while chat.is_alive():
+ YT API compatible chat processor ([CompatibleProcessor](https://github.com/taizan-hokuto/pytchat/wiki/CompatibleProcessor)) + YT API compatible chat processor ([CompatibleProcessor](https://github.com/taizan-hokuto/pytchat/wiki/CompatibleProcessor))
+ Extract archived chat data ([Extractor](https://github.com/taizan-hokuto/pytchat/wiki/Extractor))
## Structure of Default Processor ## Structure of Default Processor
Each item can be got with `sync_items()` function. Each item can be got with `sync_items()` function.