修复UID路径错误

This commit is contained in:
TheRam_ 2022-11-12 15:27:18 +08:00 committed by GitHub
parent cd8c009505
commit 42d2e937a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ class Viewer:
self.live_driver.get(self.url) self.live_driver.get(self.url)
self.user_driver = webdriver.Chrome(config_util.system_chrome_driver, options=self.chrome_options) self.user_driver = webdriver.Chrome(config_util.system_chrome_driver, options=self.chrome_options)
self.__wait_live_start() self.__wait_live_start()
self.user_sec_uid = self.__get_render_data(self.live_driver)['initialState']['roomStore']['roomInfo']['room']['owner']['sec_uid'] self.user_sec_uid = self.__get_render_data(self.live_driver)['app']['initialState']['roomStore']['roomInfo']['room']['owner']['sec_uid']
MyThread(target=self.__live_state_runnable).start() MyThread(target=self.__live_state_runnable).start()
MyThread(target=self.__join_runnable).start() MyThread(target=self.__join_runnable).start()
MyThread(target=self.__interact_runnable).start() MyThread(target=self.__interact_runnable).start()