Created
September 6, 2018 20:18
-
-
Save mottet-dev/a7e4342d5c0654dce6596b2097b7bfc9 to your computer and use it in GitHub Desktop.
InstagramBot - __init__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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