skip to Main Content

Page reloads after submitting the 2captcha token – Twitter API

I'm trying to signup on twitter using selenium and using 2captcha API to solve the captcha but for some reason when clicking continue the page refreshes and doesn't proceed captchaInput = twitter_driver.find_element_by_id('g-recaptcha-response') print("Text area set to visible") twitter_driver.execute_script("arguments[0].setAttribute('style','display:visible;');", captchaInput) time.sleep(5)…

VIEW QUESTION

RuntimeWarning: coroutine 'MessageMethods.send_message' was never awaited – Telegram API

import random from telethon import TelegramClient, events def main(): api_id = 9123640 api_hash = '8as6fgvs8t9ar76fse89rgearz' chat = '@username' message = 'hi' client = TelegramClient('afewfe', api_id, api_hash) @client.on(events.NewMessage(chats=chat)) async def normal_handler(event): if event.message.button_count == 4: await event.message.click(random.randint(0, 3)) await client.disconnect() client.start()…

VIEW QUESTION
Back To Top
Search