bitmart优化完成
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
telegram/sign.db
BIN
telegram/sign.db
Binary file not shown.
@@ -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():
|
||||
|
||||
28
推特/main.py
28
推特/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:
|
||||
|
||||
Reference in New Issue
Block a user