You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did someone work with Undetectable Driver specifically for Instagram use cases? It is one of the hardest challenges I have to face in web scraping and bot automation because they have a lot of restrictions and bot detectors.
If yes, did you have to set some specifications in the driver? I am using this configuration but I feel it is detected. I can enter on Instagram and interact but after a couple of weeks my account is banned:
(Obviously, I use time sleep with random values and some normal human behaviours)
Here my function
def setting_driver():
chrome_options = uc.ChromeOptions()
profile_path = r'/Users/myuser/Library/Application Support/Google/Chrome/User Data/Default'
chrome_options.add_argument(f"--user-data-dir={profile_path}")
chrome_options.add_argument(f"--profile-directory=Profile 1")
chrome_options.add_argument("--start-maximized")
chrome_options.add_argument("--disable-blink-features=AutomationControlled")
chrome_options.add_argument("--disable-popup-blocking") # Only if necessary for your workflow
chrome_options.add_argument("--disable-extensions") # Consider disabling extensions
chrome_options.add_argument("--no-sandbox") # This option is typically needed in containerized environments like Docker
chrome_options.add_argument("--ignore-certificate-errors") # Only if necessary for your workflow
driver = uc.Chrome(options = chrome_options)
driver.execute_script("Object.defineProperty(navigator, 'webdriver', {get: () => undefined})")
driver.get("https://www.google.com")
time.sleep(2)
driver.get("https://www.instagram.com")
return driver
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
Did someone work with Undetectable Driver specifically for Instagram use cases? It is one of the hardest challenges I have to face in web scraping and bot automation because they have a lot of restrictions and bot detectors.
If yes, did you have to set some specifications in the driver? I am using this configuration but I feel it is detected. I can enter on Instagram and interact but after a couple of weeks my account is banned:
(Obviously, I use time sleep with random values and some normal human behaviours)
Here my function
Beta Was this translation helpful? Give feedback.
All reactions