Created
September 11, 2018 20:10
-
-
Save mottet-dev/2161235021c991b5fcc41f9696eaa9cf to your computer and use it in GitHub Desktop.
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
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