Skip to content

Instantly share code, notes, and snippets.

@mottet-dev
Created September 11, 2018 20:10
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/2161235021c991b5fcc41f9696eaa9cf to your computer and use it in GitHub Desktop.
Save mottet-dev/2161235021c991b5fcc41f9696eaa9cf to your computer and use it in GitHub Desktop.
followers = []
for user in followersList.find_elements_by_css_selector('li'):
userLink = user.find_element_by_css_selector('a').get_attribute('href')
print(userLink)
followers.append(userLink)
if (len(followers) == max):
break
return followers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment