Skip to content

Commit 75ee69e

Browse files
authored
Update chromedriver_version.py
Fixed scraper after chromedriver downloads page update
1 parent ddcfccf commit 75ee69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chromedriver_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
url = "https://chromedriver.chromium.org/downloads"
77
html = urlopen(url)
88
bs = BeautifulSoup(html, "html.parser")
9-
versions = bs.findAll("strong")
9+
versions = bs.findAll("span")
1010

1111

1212
# Add each scraped element to a list
@@ -23,4 +23,4 @@
2323

2424
# Print versions to console if script is run directly
2525
if __name__ == "__main__":
26-
print(chromedriver_versions)
26+
print(chromedriver_versions)

0 commit comments

Comments
 (0)