fwefwf
This commit is contained in:
16
推特/main.py
16
推特/main.py
@@ -446,12 +446,12 @@ class Hub_Web:
|
||||
|
||||
logger.success(f"推特名字:{self.x_info.user_name},登录x成功!!!")
|
||||
|
||||
time.sleep(25)
|
||||
|
||||
for i in self.x_tab.cookies():
|
||||
if i["name"] == "auth_token":
|
||||
self.xstart_info.cookie = i["value"]
|
||||
self.xstart_info.save()
|
||||
# time.sleep(25)
|
||||
#
|
||||
# for i in self.x_tab.cookies():
|
||||
# if i["name"] == "auth_token":
|
||||
# self.xstart_info.cookie = i["value"]
|
||||
# self.xstart_info.save()
|
||||
|
||||
else:
|
||||
logger.error(f"推特名字:{self.x_info.user_name},登录x失败!!!")
|
||||
@@ -496,8 +496,8 @@ class Hub_Web:
|
||||
if __name__ == '__main__':
|
||||
|
||||
# 同时运行
|
||||
max_threads = 1
|
||||
delay_between_start = 350 # 每次启动线程之间的延迟时间(秒)
|
||||
max_threads = 15
|
||||
delay_between_start = 484 # 每次启动线程之间的延迟时间(秒)
|
||||
|
||||
with ThreadPoolExecutor(max_workers=max_threads) as executor:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user