Created
May 31, 2019 05:46
-
-
Save shubham-singh-ss/fb89f5bf299f143dc3dd0efb537d79c9 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
user_data = driver.find_elements_by_xpath('//*[@id="video-title"]') | |
links = [] | |
for i in user_data: | |
links.append(i.get_attribute('href')) | |
print(len(links)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment