mirror of
https://github.com/LibraHp/GetQzonehistory.git
synced 2025-02-23 14:09:07 +00:00
commit
10229bab07
6
main.py
6
main.py
@ -1026,6 +1026,12 @@ def main(page: ft.Page):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def get_message(start, count):
|
def get_message(start, count):
|
||||||
|
while True:
|
||||||
|
message_content = get_message_unsafe(start, count)
|
||||||
|
if message_content.encoding.lower() == 'utf-8':
|
||||||
|
return message_content
|
||||||
|
|
||||||
|
def get_message_unsafe(start, count):
|
||||||
cookies = page.session.get("user_cookies")
|
cookies = page.session.get("user_cookies")
|
||||||
g_tk = bkn(cookies['p_skey'])
|
g_tk = bkn(cookies['p_skey'])
|
||||||
uin = re.sub(r'o0*', '', cookies.get('uin'))
|
uin = re.sub(r'o0*', '', cookies.get('uin'))
|
||||||
|
Loading…
Reference in New Issue
Block a user