Okay, so I am making a bot for this website to automate account creation. I am using rotating ipv4 proxies and some other anti detection stuff but still being detected every time. Any ideas?
Here's how I'm initializing the driver and what options im using.
proxy = random.choice(proxys)
ua = UserAgent()
userAgent = ua.random
def main():
options = webdriver.ChromeOptions()
options.add_argument(r'--user-data-dir=my chrome user data directory here')
options.add_argument(f'--proxy-server={proxy}')
options.add_argument("start-maximized")
options.add_experimental_option("excludeSwitches", ["enable-automation"])
options.add_experimental_option('useAutomationExtension', False)
options.add_argument(f'user-agent={userAgent}')
driver = uc.Chrome(service=Service(ChromeDriverManager(cache_valid_range=30).install()),options=options)
driver.execute_script("Object.defineProperty(navigator, 'webdriver', {get: () => undefined})")
print(driver.execute_script("return navigator.userAgent;"))
sleep(1)
while True:
create_account(driver, catchall)
I also have tried chrome profiles, but I cannot make enough of those, and was wondering how I could implement those somehow. Because it seems after the website detects I am a bot, the chrome profile I was using no longer works.
I am being blocked out every time by the website, almost no matter what. Although sometimes it does happen to go through after I make some random changes. But I was expecting everything to be working now as almost everything that they can detect is being changed.