Skip to content

Instantly share code, notes, and snippets.

@mottet-dev
Created Sep 6, 2018
Embed
What would you like to do?
InstagramBot - __init__
def __init__(self, email, password):
self.browserProfile = webdriver.ChromeOptions()
self.browserProfile.add_experimental_option('prefs', {'intl.accept_languages': 'en,en_US'})
self.browser = webdriver.Chrome('chromedriver.exe', chrome_options=self.browserProfile)
self.email = email
self.password = password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment