mirror of
https://github.com/LibraHp/GetQzonehistory.git
synced 2024-12-27 06:29:55 +00:00
修复Linux下变量分配异常,所导致不能抓取部分数据的bug
This commit is contained in:
parent
8cbf5c9330
commit
4aa69b2051
13
main.py
13
main.py
@ -16,6 +16,12 @@ import requests
|
||||
import time
|
||||
import platform
|
||||
|
||||
texts = list()
|
||||
all_friends = list()
|
||||
other_message = list()
|
||||
user_message = list()
|
||||
leave_message = list()
|
||||
forward_message = list()
|
||||
|
||||
# 信号处理函数
|
||||
def signal_handler(signal, frame):
|
||||
@ -205,12 +211,7 @@ if __name__ == '__main__':
|
||||
except Exception as e:
|
||||
print(f"登录失败:请重新登录,错误信息:{str(e)}")
|
||||
exit(0)
|
||||
texts = []
|
||||
all_friends = []
|
||||
other_message = []
|
||||
user_message = []
|
||||
leave_message = []
|
||||
forward_message = []
|
||||
|
||||
count = Request.get_message_count()
|
||||
try:
|
||||
# 注册信号处理函数
|
||||
|
Loading…
Reference in New Issue
Block a user