This commit is contained in:
Cam 2023-01-30 22:00:56 +08:00
commit 852f299f1b
2 changed files with 4 additions and 3 deletions

View File

@ -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(

View File

@ -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"]
)