Skip to content

Instantly share code, notes, and snippets.

@mottet-dev
Created September 6, 2018 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mottet-dev/a7e4342d5c0654dce6596b2097b7bfc9 to your computer and use it in GitHub Desktop.
Save mottet-dev/a7e4342d5c0654dce6596b2097b7bfc9 to your computer and use it in GitHub Desktop.
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