Skip to content

Instantly share code, notes, and snippets.

@mottet-dev

mottet-dev/main.py

Created Sep 4, 2018
Embed
What would you like to do?
InstagramBot - followWithUsername
def followWithUsername(self, username):
self.browser.get('https://www.instagram.com/' + username + '/')
time.sleep(2) # not necessary
followButton = self.browser.find_element_by_css_selector('button')
followButton.click()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.