mirror of
https://github.com/yulinfeng000/blive.git
synced 2025-03-26 01:00:54 +08:00
Merge branch 'main' of https://github.com/yulinfeng000/blive
This commit is contained in:
commit
852f299f1b
@ -33,12 +33,13 @@ class BLiver(AsyncIOEventEmitter):
|
||||
def __init__(self, room_id, uid=0):
|
||||
super().__init__()
|
||||
self.running = False
|
||||
self.ws = None
|
||||
|
||||
self.room_id = room_id
|
||||
self.uid = uid
|
||||
self.aio_session = aiohttp.ClientSession()
|
||||
self.packman = BLiveMsgPackage()
|
||||
self.scheduler = AsyncIOScheduler(timezone="Asia/ShangHai")
|
||||
self.aio_session = aiohttp.ClientSession()
|
||||
|
||||
def register_handler(self, event: Union[Events, List[Events]], handler):
|
||||
warnings.warn(
|
||||
|
4
setup.py
4
setup.py
@ -5,7 +5,7 @@ with open("./README.md", "r") as f:
|
||||
|
||||
setuptools.setup(
|
||||
name="blive",
|
||||
version="0.1.1",
|
||||
version="0.1.2",
|
||||
author="cam",
|
||||
author_email="yulinfeng000@gmail.com",
|
||||
long_description=description,
|
||||
@ -16,5 +16,5 @@ setuptools.setup(
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
],
|
||||
install_requires=["aiohttp","requests","APScheduler==3.9.1","brotli","pyee"]
|
||||
install_requires=["aiohttp","requests","APScheduler>=3.9.1","brotli","pyee"]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user