Skip to content

Instantly share code, notes, and snippets.

@mottet-dev
Created September 11, 2018 20:10
Embed
What would you like to do?
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