Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
044fe97aa5 | ||
|
|
585a4be7dc | ||
|
|
b84a82341e | ||
|
|
b4f3307b1c | ||
|
|
be7ac97c62 | ||
|
|
f8de4e7e39 | ||
|
|
f8bcc8a453 |
@@ -56,6 +56,7 @@ while chat.is_alive():
|
|||||||
### asyncio context:
|
### asyncio context:
|
||||||
```python
|
```python
|
||||||
from pytchat import LiveChatAsync
|
from pytchat import LiveChatAsync
|
||||||
|
from concurrent.futures import CancelledError
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup.
|
pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup.
|
||||||
"""
|
"""
|
||||||
__copyright__ = 'Copyright (C) 2019 taizan-hokuto'
|
__copyright__ = 'Copyright (C) 2019 taizan-hokuto'
|
||||||
__version__ = '0.0.4.1'
|
__version__ = '0.0.4.2'
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
__author__ = 'taizan-hokuto'
|
__author__ = 'taizan-hokuto'
|
||||||
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'
|
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ class Combinator(ChatProcessor):
|
|||||||
|
|
||||||
For example:
|
For example:
|
||||||
[constructor]
|
[constructor]
|
||||||
chat = LiveChat("video_id", processor = ( Processor1(), Processor2(), Processor3() )
|
chat = LiveChat("video_id", processor = ( Processor1(), Processor2(), Processor3() ) )
|
||||||
|
|
||||||
[receive return values]
|
[receive return values]
|
||||||
ret1, ret2, ret3 = chat.get()
|
ret1, ret2, ret3 = chat.get()
|
||||||
@@ -33,7 +33,7 @@ class Combinator(ChatProcessor):
|
|||||||
-------
|
-------
|
||||||
Tuple of chat data processed by each chat processor.
|
Tuple of chat data processed by each chat processor.
|
||||||
'''
|
'''
|
||||||
return tuple([processor.process(chat_components)
|
return tuple(processor.process(chat_components)
|
||||||
for processor in self.processors])
|
for processor in self.processors)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user