Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lumina37 committed May 23, 2022
1 parent 59bbb3e commit e691efb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tiebaBrowser/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,11 @@ async def get_websocket(self) -> aiohttp.ClientWebSocketResponse:

data_proto = UpdateClientInfoReqIdl_pb2.UpdateClientInfoReqIdl.DataReq()
data_proto.bduss = self.sessions.BDUSS
data_proto.device = """{"subapp_type":"mini","_client_version":"9.1.0.0","pversion":"1.0.3","_phone_imei":"000000000000000","from":"1021099l","cuid_galaxy2":"132D741FDA2C7D06A1BF9D63F213B453|0","model":"LIO-AN00","_client_type":"2"}"""
data_proto.device = """{"subapp_type":"mini","_client_version":"9.1.0.0","pversion":"1.0.3","_msg_status":"1","_phone_imei":"000000000000000","from":"1021099l","cuid_galaxy2":"132D741FDA2C7D06A1BF9D63F213B453|0","model":"LIO-AN00","_client_type":"2"}"""
data_proto.secretKey = rsa_chiper.encrypt(self.sessions.ws_password)
req_proto = UpdateClientInfoReqIdl_pb2.UpdateClientInfoReqIdl()
req_proto.data.CopyFrom(data_proto)
req_proto.cuid = 'baidutiebaapp4b825a46-779d-4004-a264-006433001684|com.baidu.tieba_mini9.1.0.0'
req_proto.cuid = "baidutiebaapp4b825a46-779d-4004-a264-006433001684|com.baidu.tieba_mini9.1.0.0"

websocket = self.sessions.websocket

Expand Down

0 comments on commit e691efb

Please sign in to comment.