bitmart优化完成

This commit is contained in:
Administrator
2025-12-18 11:34:19 +08:00
parent dd3c7c5c3e
commit 4dec09cba0
3 changed files with 41 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -583,7 +583,43 @@ Winwin benefits — dont miss out! 🚀
time.sleep(random.randint(3, 10))
def 回复(self):
self.page.get('https://x.com/Websea_MY/status/1999305458566463782')
urls = [
"https://x.com/Websea_MY/status/1999305458566463782",
"https://x.com/Websea_MY/status/2000021069311402186",
"https://x.com/Websea_MY/status/2001119115575222779",
"https://x.com/Websea_MY/status/2001180999443734677"
]
tests = [
"Canal premium de Websea: Regístrese para disfrutar de descuentos del 85 % en las comisiones de los futuros de Websea. Para grandes volúmenes de registros, el porcentaje es negociable. Agentes bienvenidos a consultar. Contacto Telegram: @webseatom",
"O canal premium da Websea oferece 85% de desconto nas taxas de comissão de contratos após o cadastro, com condições negociáveis para grandes volumes. Corretores interessados podem entrar em contato pelo Telegram: @webseatom",
"Канал Websea Premium: зарегистрируйтесь, чтобы получить 85% комиссионных от контрактов Websea. По запросу предоставляются скидки за объем. Приглашаем агентов обращаться с запросами. Контактный Telegram: @webseatom",
"Websea - Kênh hàng đầu, đăng ký ngay để nhận 85% hoa hồng từ hợp đồng Websea. Số lượng lớn có thể thương lượng, chào đón các đại lý liên hệ. Liên hệ TG: @webseatom"
]
tab = self.page.new_tab(random.choice(urls))
tab.actions.click(
'x:/html/body/div[1]/div/div/div[2]/main/div/div/div/div[1]/div/section/div/div/div[1]/div/div/article/div/div/div[3]/div[5]/div/div/div[2]/button')
time.sleep(random.randint(1, 5))
tab.actions.click(
'x:/html/body/div[1]/div/div/div[1]/div[2]/div/div/div/div[2]/div/div[3]/div/div/div/a[1]')
time.sleep(random.randint(1, 5))
tab.actions.type(random.choice(tests))
time.sleep(random.randint(1, 5))
# try:
# for i in tab.eles('x://*[normalize-space(text())= "Post"]'):
# tab.actions.click(on_ele=i)
# time.sleep(random.randint(1, 5))
# except:
# for i in tab.eles('x://*[normalize-space(text())= "Postear"]'):
# tab.actions.click(on_ele=i)
# time.sleep(random.randint(1, 5))
tab.actions.click(
'x:/html/body/div[1]/div/div/div[1]/div[2]/div/div/div/div/div/div[2]/div[2]/div/div/div/div[3]/div[2]/div[1]/div/div/div/div[2]/div[2]/div/div/div/button/div/span/span')
time.sleep(random.randint(5, 15))
# def action(self):
@@ -697,10 +733,10 @@ 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.回复() # 发推
@@ -748,10 +784,6 @@ if __name__ == '__main__':
# if xstart_info.start:
# continue
# hun_web = Hub_Web(x_info=x_token_info, xstart_info=xstart_info)
#
# executor.submit(hun_web.to_do_tui)
executor.submit(run_work, x_token_info, xstart_info)
# time.sleep(random.randint(150, 850))
time.sleep(delay_between_start)