diff --git a/telegram/8619211027341.session b/telegram/8619211027341.session index 4d4e536..f73dd9d 100644 Binary files a/telegram/8619211027341.session and b/telegram/8619211027341.session differ diff --git a/telegram/bot_session.session b/telegram/bot_session.session index 9fe0992..a28b29e 100644 Binary files a/telegram/bot_session.session and b/telegram/bot_session.session differ diff --git a/telegram/sign.db b/telegram/sign.db index bc807f6..47d80c1 100644 Binary files a/telegram/sign.db and b/telegram/sign.db differ diff --git a/交易/bitmart_优化版.py b/交易/bitmart_优化版.py index ceb1071..93a486d 100644 --- a/交易/bitmart_优化版.py +++ b/交易/bitmart_优化版.py @@ -256,10 +256,12 @@ class WeexTransaction: self.click_safe('x:(//button[normalize-space(text())="市价"])') # 余额 - balance = self.get_account_balance() - if not balance: - self.ding("获取可用余额失败!", error=True) - return + balance = None + for i in range(3): + balance = self.get_account_balance() + if not balance: + self.ding("获取可用余额失败!", error=True) + return amount = balance / 100 self.page.ele('x://*[@id="size_0"]').input(amount) @@ -319,10 +321,10 @@ class WeexTransaction: self.pbar.n = minute if minute < 30 else minute - 30 self.pbar.refresh() - # # 必须是整点或半点及前 5 分钟 - # if minute not in [0, 1, 2, 3, 4, 5, 30, 31, 32, 33, 34, 35]: - # time.sleep(8) - # return + # 必须是整点或半点及前 5 分钟 + if minute not in [0, 1, 2, 3, 4, 5, 30, 31, 32, 33, 34, 35]: + time.sleep(8) + return # 时间重复跳过 if self.time_start == self.get_half_hour_timestamp(): diff --git a/推特/main.py b/推特/main.py index ed00513..c334689 100644 --- a/推特/main.py +++ b/推特/main.py @@ -526,10 +526,25 @@ class Hub_Web: # text = "Websea顶级渠道,注册就可享受websea合约85%返佣,量大可谈,欢迎代理咨询。 TG(飞机):http://t.me/webseadds" text = self.get_txt() + text = """ +💡 Websea Futures Insurance 2.0 FAQ + What is "Referral-Based Rate Reduction"? + +🤝 For every friend you successfully invite, your insurance fee rate drops by 1%, up to a maximum of 5%! + +A friend counts as a successful boost once they register and reach a total insurance premiums of ≥ 10 USDT within 7 days. + +Your friend also receives 1 reward node after completing registration. +Win–win benefits — don’t miss out! 🚀 + """ self.xstart_info.url_id = text self.xstart_info.save() + self.x_tab.actions.click( + 'x://*[@id="react-root"]/div/div/div[2]/main/div/div/div/div/div/div[3]/div/div[2]/div[1]/div/div/div/div[2]/div[2]/div[2]/div/div/nav/div/div[2]/div/div[1]/div/button').input( + [r"E:\新建文件夹\6194986263283174596.jpg"]) + self.x_tab.actions.click( 'x://*[@id="react-root"]/div/div/div[2]/main/div/div/div/div/div/div[3]/div/div[2]/div[1]/div/div/div/div[2]/div[1]/div/div/div/div/div/div/div/div/div/div/div/div[1]/div/div/div/div/div/div[2]/div/div/div/div').input( text) @@ -679,15 +694,14 @@ def run_work(x_token_info, xstart_info): # executor.submit(hun_web.to_do_tui) with Hub_Web(x_info=x_token_info, xstart_info=xstart_info) as hub: - - try: - hub.account_nurturing() # 养号 - except: - pass + # try: + # hub.account_nurturing() # 养号 + # except: + # pass hub.to_do_tui() # 发推 - hub.FollowTwitterAccount() # 关注 + # hub.FollowTwitterAccount() # 关注 if __name__ == '__main__': @@ -709,7 +723,7 @@ if __name__ == '__main__': # time.sleep(random.randint(15, 60)) # 同时运行 - max_threads = 3 + max_threads = 1 delay_between_start = 15 # 每次启动线程之间的延迟时间(秒) with ThreadPoolExecutor(max_workers=max_threads) as executor: