Merge branch 'release/0.0.4.2'

This commit is contained in:
taizan-hokuto
2020-01-02 10:25:26 +09:00
3 changed files with 5 additions and 4 deletions

View File

@@ -56,6 +56,7 @@ while chat.is_alive():
### asyncio context:
```python
from pytchat import LiveChatAsync
from concurrent.futures import CancelledError
import asyncio
async def main():

View File

@@ -2,7 +2,7 @@
pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup.
"""
__copyright__ = 'Copyright (C) 2019 taizan-hokuto'
__version__ = '0.0.4.1'
__version__ = '0.0.4.2'
__license__ = 'MIT'
__author__ = 'taizan-hokuto'
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'

View File

@@ -7,7 +7,7 @@ class Combinator(ChatProcessor):
For example:
[constructor]
chat = LiveChat("video_id", processor = ( Processor1(), Processor2(), Processor3() )
chat = LiveChat("video_id", processor = ( Processor1(), Processor2(), Processor3() ) )
[receive return values]
ret1, ret2, ret3 = chat.get()
@@ -33,7 +33,7 @@ class Combinator(ChatProcessor):
-------
Tuple of chat data processed by each chat processor.
'''
return tuple([processor.process(chat_components)
for processor in self.processors])
return tuple(processor.process(chat_components)
for processor in self.processors)